#curl: (7) Failed to connect to 64.247.206.102 port 8000 after 41 ms: Couldn't connect to server

5 messages · Page 1 of 1 (latest)

eager mason
#

My application is listening on port 8000 on the pod with the above-mentioned public ip address, but when i curl that from a server outside the runpod using this command:

curl -X POST http://64.247.206.102:8000 -H "Content-Type: application/json" -d '{"prompt": "Test prompt"
, "max_tokens": 50}'

I get the error in the headline. Can someone guide me on how to reach the IP Address?

past dust
#

try to use the connect button, look at the bttom part of the modal (new pop up) after you click on "connect" in pods page, in website

#

there is another port to connect to, it might not be your port 8000 directly, but there might be another port which is assigned by runpod and points to port 8000 inside your pod

eager mason
#

Thank you....sorted!!