Exposed Port 8888
I'm not running Jupyter, but I've left 8888 exposed as I'm running another service on that port. However I cannot connect to 8888 remotely, only locally on the machine. Is there any other setting I need to configure?
8 Replies
Yes, bind to 0.0.0.0 and not 127.0.0.1.
Do you mean bind my service to 0.0.0.0 ? It already is
Then how are yu connecting to it? Add HTTP port 8888 to your pod and you should be able to connect to it.
This is what is set
what's missing from this?
Thats fine, you should be able to connect, otherwise your application is broken. Nothing anyone can do, you have to fix it.
So the service is not accesible via the IP, but rather through a convoluted dns scheme https://{POD_ID}-{INTERNAL_PORT}.proxy.runpod.net . Might be useful if this was actually displayed in the interface!
Might be useful if you didn't make incorrect assumptions. If you want to use an IP and external port then expose it as TCP and not HTTP, but then you need to ensure that your pod has a public IP and you also need to use the external port mapping. HTTP and TCP ports always work like this, so this is on you and nobody else for making incorrect assumptions.