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 140,207 views bookmark tags: ip port (updated 91 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 91 days ago)
Knowledgebase Article 237,154 views tags: ip port secure

How can I change the outgoing SMTP port from 25 to 26? (updated 1885 days ago)
Knowledgebase Article 257,246 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 1289 days ago)
Knowledgebase Article 162,764 views tags: blocked connection refused send smtp unable

Related Help Content

I cannot make an outbound connection from my script (updated 91 days ago)
Knowledgebase Article 84,457 views tags: ip outgoing port

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

How to modify the Exim Port (Mail Transfer Agent) in the WHM (updated 771 days ago)
Knowledgebase Article 16,500 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 2123 days ago)
Knowledgebase Article 86,739 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 2123 days ago)
Knowledgebase Article 89,501 views tags: php unable

Why am I unable to point the nameservers for my .FR domain to HostMonster? (updated 1092 days ago)
Knowledgebase Article 123,689 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 2122 days ago)
Knowledgebase Article 67,386 views tags: cannot connect mozilla smtp thunderbird

Explains how to change the SSH port through the root user. (updated 897 days ago)
Knowledgebase Article 8,246 views tags: shell