About config - Petrprogs/XmrigStat GitHub Wiki

About config

What does the error mean: "Error! Invalid config data! Shutdown app and edit config"?

This means that the IP address for listening is not specified in the config.ini file.

I did not understand how to specify the IP address in the config.ini file.

Very simple! Open the config.ini file in a text editor and the IP field after the = sign, enter the data according to the scheme: http://address:port and save the file. The program should work!

Example: http://192.168.1.92:8081

Where can I find the IP address and port?

Open the Xmrig directory and find the config.json file. Open it with a text editor and find the lines shown below. host - IP address, port - port.

I see zeros instead of address and port in config.json. What to do?

This means Xmrig is not configured. To fix this you need to find out your IP address. To do this, open the control panel from the Start menu. Select Network and Internet next to Network And Sharing Center. On the right side of the panel, select Change adapter settings. Right-click on the adapter through which you are connected. Select properties, then details and string Address IPv4 and there is your IP. Now open the config.json file from the Xmrig directory, find the host field and replace the quoted text with your IP. You just have to come up with a port consisting of four numbers, you can use the same one as in the picture at the top.

Compare your input with the image at the top!

The program still doesn't work, what should I do?

Open an issue and we will try to help you