Jump to content

cURL Inbound or Outbound?


YourNameHere

Recommended Posts

I need to ask my host to open a port for outbound connections via cURL. THey are telling me that they cannot open inbound ports for my hosting package type. I have been told that curl or file_get_contents makes an outbound connection. I can't seem to verify this through the docs unless I am missing something. Can anyone verify before I go back to my host and make a fool of myself?

Link to comment
https://forums.phpfreaks.com/topic/277853-curl-inbound-or-outbound/
Share on other sites

They didnt specify if that was the reason it was failing, but that they "could not open inbound ports for shared hosting packages".  After speaking with someone else on the subject that has had to do the exact thing that I am attempting to connect to, they explained that they had to request that hostgator open that port and they stopped receiving that same error (error 7: Could not connect to host)

 

Update: After going back to them explaining that it was an outbound connection and with non-malicious intent, they opened it without hesitation.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.