Gunthy

GUNBOT: The automatic profit generator => Technical Support & Development => Topic started by: tv99 on February 12, 2021, 07:02:45 AM

Title: Specify IP address
Post by: tv99 on February 12, 2021, 07:02:45 AM
I have attempted to change the localhost IP from 127.0.0.1 in the config.js file to an IP on an interface, and no luck.

Any suggestions would be most appreciated.

Thanks in advance.
T
Title: Re: Specify IP address
Post by: Aitor on February 12, 2021, 10:18:52 PM
I have attempted to change the localhost IP from 127.0.0.1 in the config.js file to an IP on an interface, and no luck.

Any suggestions would be most appreciated.

Thanks in advance.
T

Hi, are you trying to configure Gunbot access on a local network?
Title: Re: Specify IP address
Post by: tv99 on February 12, 2021, 11:31:54 PM
Yes

Update
Found a method which addresses the initial question.  The solution is to change the localhost IP address from 127.0.0.1 to 0.0.0.0, which allows connecting to the host IP address:5000.
Title: Re: Specify IP address
Post by: Aitor on February 16, 2021, 09:05:54 AM
Glad to hear you fixed it. I just want to remind that in most of the cases we don't need to change that api as it works for running the bot in our own computer / vps and also to access remotely from other computer.
Title: Re: Specify IP address
Post by: tv99 on February 16, 2021, 07:31:15 PM
Needed the change in order to connect via browser to remote host using zerotier.