HostMonster Web Hosting Help

Problem using fsockopen function

Why am I unable to use the fsockopen function?
The fsockopen function will work for outbound connection to any URL on port 80 (HTTP) or 443 (HTTPS). If fsockopen is attempting to use another port, it will not work until we have added that port to the firewall.

By default, your account is on a shared IP address. We have a firewall for our shared IP customers which prohibits opening additional ports. If you need to connect using a port number other than 80 or 443, this will require you Purchase a Dedicated IP for your HostMonster account.

Dedicated IPs cost $3.99 per month (prorated to the remaining hosting term). You may purchase a Dedicated IP address from within your cPanel by clicking on the Dedicated IP tab at the top of the page.

Once you have a dedicated IP, you will need to contact us via Phone or Live Chat to request the specific port number is added to the firewall.

Note: While we can generally open any port over 1024, ports 1024 and lower are restricted and cannot be opened.

Knowledgebase Article 141,143 views bookmark tags: ip port (updated 157 days ago)

Was this resource helpful?

Did this resolve your issue?

Please add any other comments or suggestions about this content:

Recommended Help Content

What is the difference between a Shared & Dedicated IP? How do I get Port Access? What type of SSL Certificate is right for me? (updated 157 days ago)
Knowledgebase Article 244,673 views tags: ip port secure

How can I change the outgoing SMTP port from 25 to 26? (updated 1951 days ago)
Knowledgebase Article 265,908 views tags: email outgoing port send sending smtp

When setting up an account in Outlook or Outlook Express I get an error saying unable to connect to my SMTP server. (updated 1353 days ago)
Knowledgebase Article 165,627 views tags: blocked connection refused send smtp unable

Related Help Content

Wordpress Error: Unable to create directory /wp-content/uploads/2009/mydir/summer/ Is its parent directory writable by the server? (updated 2153 days ago)
Knowledgebase Article 46,688 views tags: create unable wordpress

I cannot make an outbound connection from my script (updated 157 days ago)
Knowledgebase Article 85,791 views tags: ip outgoing port

How to modify the Exim Port (Mail Transfer Agent) in the WHM (updated 836 days ago)
Knowledgebase Article 17,420 views tags: dedicated exim outgoing port sending server whm

I need to be able to change the port used by Eudora for incoming or outgoing mail. (updated 2189 days ago)
Knowledgebase Article 88,024 views tags: port ports

I get this with some of my php files: Fatal error: Unable to read X bytes in /home/user/public_html/myfile.php on line Y (updated 2189 days ago)
Knowledgebase Article 90,765 views tags: php unable

Why am I unable to point the nameservers for my .FR domain to HostMonster? (updated 1157 days ago)
Knowledgebase Article 125,153 views tags: domain france french port registrar transfer zone

I get an error sending with Thunderbird, I can receive fine and I tried sending on Port 26 and it still does not work. How do I fix this problem? (updated 2188 days ago)
Knowledgebase Article 68,597 views tags: cannot connect mozilla smtp thunderbird

You can try sending the email on port 26, which is an alternate SMTP port and see if that works for you. For outlook: (updated 864 days ago)
Knowledgebase Article 98,617 views tags: configuration email outlook pop sending setup