I was playing around with AMP to get Valheim working and in doing that I bound the endpoint to a NIC on my server, so that the endpoint is stuck at 172.x.x.x:port. I later found that I should have left it at 0.0.0.0 so that AMP listens on all interfaces.
How do I revert the instance to 0.0.0.0 without having to back up the server (world seed) and restore it to another instance?
So, I stopped AMP entirely, and went in to AMP’s /instances/Main directory and changed AMPConfig.conf to:
Webserver.IPBinding=0.0.0.0
That setting stayed that way after starting AMP back up.
I then went into /instances/Valheim01 and edited GenericModule.kvp to, App.ApplicationIPBinding=0.0.0.0
That setting stayed that way after starting AMP back up.
In the same directory, I then edited AMPConfig.conf to Webserver.IPBinding=0.0.0.0
This keeps reverting to 172.x when AMP and the Valheim instance are restarted. I should have looked at the commented text, because it says to use “ampinstmgr rebind” to change this.