cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Choose Language Hide Translation Bar
View Original Published Thread

Http Request Post Failed to connect

Kairen
Level I

I tried to post a file, and it was successful when it was sent to the local API url

Kairen_0-1692348905735.png

 

But it fails when sending to the API of another IP url (I can successfully ping to this IP)

Kairen_2-1692349833887.png

I've tried to test in postman, it works but still can not work in jsl, need for help...

 

3 REPLIES 3
Craige_Hales
Super User


Re: Http Request Post Failed to connect

Craige_Hales
Super User


Re: Http Request Post Failed to connect

probably firewall on server or htaccess issue, check the logs on the server, maybe /var/log/apache/access.log. There are other logs that might help too, and depend on the particular web server (apache, nginx, etc)

 

(re-reading other similar questions: it might be your local machine firewall? add "curl" to any googling queries may help. I'm interested in the answer too. @bryan_boone )

Craige


Re: Http Request Post Failed to connect

Does it work in Postman with the other IP?

If so, can you post the curl command (with the IP blotted out) here?

Thanks.