4 ms·
> You can test the express application by curl as shown below. I haven't seen one tutorial or piece of documentation that tells me how to access that app from
by hackerboos 13y ago
> You can test the express application by curl as shown below.
I haven't seen one tutorial or piece of documentation that tells me how to access that app from my host machine.
- whatever2001 13y agowouldn't you just ssh into the container?
- hackerboos 13y agoI meant from a browser.
- Sikul 13y agoA container can expose ports that the application is running on to the host. For instance, one of my web server containers might expose 9000 to the host. You could access 9000 directly from the host or you can setup nginx to forward 80 to 9000 if that's what you want. Something like that.