Jump to content

XMRig HTTP API not accessible

Hi, I am a newbie at crypto mining, and I am experiementing with it. I already tried NBMiner and I can access its web monitor simply by entering the IP address and the port of the system that's mining. I am trying to do the same thing in XMRig, but I can't access the stats of the system/miner when I enter the IP address of the miner (http://192.168.1.6:22334), but http://localhost:22334 or http://127.0.0.1:22334 works. I used http://workers.xmrig.info/ to connect tot he miners/API. I did this on the system that was mining, not on another system/PC. I already tried disabling Windows Firewall, but it sill does not work. I also have a Mac that is also mining using XMRig, and I also got the same issue.

image.thumb.png.05f4718d136073ca2c8729cf0ab2b3b7.png

 

Here's my config.json:

    "api": {
        "id": null,
        "worker-id": null
    },
    "http": {
        "enabled": true,
        "host": "0.0.0.0",
        "port": 22334,
        "access-token": null,
        "restricted": true
    },

For the config.json, I already tried setting the host as 0.0.0.0 and 127.0.0.1, but I still can't access the API using the IP address of the miner.

 

I also tried adding a token, but I still can't access it when I use the miner's IP address.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×