How to run localhost in browser when connected to VM via ssh
Closed this issue ยท 4 comments
katbow commented
We are running our phoenix application in a virtual machine. We had some trouble getting this started, and found out we need to run it as
sudo mix phoenix.server
instead of just mix phoenix.server
.
We can make requests with curl
and see the response from the server, however we have not been able to figure out how to go to localhost to view the changes to the site from here & check if it runs as expected.
We tried going to the IP address that we ssh'd into with :4000
and it just hung.
Need this for checking healthlocker/healthlocker#852
nelsonic commented
katbow commented
yep, all good. thanks again ๐