Configuring Phoenix for coder/code-server

We are using vs code in the browser without issue for various services, and don’t seem to be having any trouble setting up and developing our Phoenix project. The trouble we are having is accessing the Phoenix app in the browser after running iex -S mix phx.server.

Has anyone tried/had success with developing and debugging a Phoenix app using code-server?

coder/code-server

Update: after getting back to this exploratory work, I discovered that setting the ip to a loopback address in dev.exs endpoint config, gives me access to the web app as shown below.

http: [ip: {0, 0, 0, 0}, port: 4000]

Then just access the site at the code-server url, port 4000.