DEV Community

loading...

Discussion on: Cross Container Communication And Networking In Docker

Collapse
clavinjune profile image
Clavin June • Edited

I understood, but what I meant is how can we get rid the port

Thread Thread
rinkiyakedad profile image
Arsh Sharma Author

The default port is 80. If you can get your service to run on that then you would simply be able to use host.docker.internal. Otherwise I don't think so you can get by without specifying the port since your service operates on a specific port itself.