Jump to content

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.

Edited by YourNameHere
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.