How do you change the ip address of mix phx.server command in Phoenix?
Deloying Phoenix with Cowboy - How do you change the ip address of mix phx.server command in Phoenix?
config.exs for the endpoint configuration, the host key should do the trick.
Which IP do you mean? The IP that the server binds to? Or more generally speaking the IP that your computer has? The IP used in generated URLs?
the IP address of my VPS.
it worked. thanks.
To change the IP address of your VPS (virtual private server?) you’ll need to ask your hoster to change the IP.