how to expose a port inside the docker?

2 years ago

I'm trying to host a Ghost server (https://hub.docker.com/\_/ghost/) using railway. The logs shows that the database has been successfully set up and the web server is ready. In the example at https://hub.docker.com/\_/ghost/, it binds the in-docker port 2368 with port 3001. However, when I tried to set Public Networking and set the port to 2368, the web service still can't be access from outside. What happened?

Solved

2 Replies

2 years ago


Status changed to Solved Railway almost 2 years ago


2 years ago

Thanks!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...