Should I bind the server to 0.0.0.0 on Heroku?

I have a simple application that I can either bind so that only the localhost can access it, or 0.0.0.0 so that any user on the network can access it. I know how this works in practice and the security implications for the local network. Is Geroku different? Does their reverse proxy go from localhost to dino so I can communicate securely with 127.0.0.1?

+3


source to share


1 answer


From experience, I can tell you are binding to 0.0.0.0.



For the port, you use the environment variable for PORT

.

+1


source







All Articles