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, Live Chat or by Opening a Ticket 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 135,767 views bookmark tags: ip port (updated 352 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 268 days ago)
Knowledgebase Article 224,349 views tags: ip port secure

How can I change the outgoing SMTP port from 25 to 26? (updated 1782 days ago)
Knowledgebase Article 245,278 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 1185 days ago)
Knowledgebase Article 156,526 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 1985 days ago)
Knowledgebase Article 40,655 views tags: create unable wordpress

I cannot make an outbound connection from my script (updated 618 days ago)
Knowledgebase Article 81,218 views tags: ip outgoing port

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

Outgoing Ports Are Blocked (updated 1371 days ago)
Knowledgebase Article 88,281 views tags: access outgoing port restrict

I need to be able to change the port used by Eudora for incoming or outgoing mail. (updated 2020 days ago)
Knowledgebase Article 83,539 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 2020 days ago)
Knowledgebase Article 86,424 views tags: php unable

Why am I unable to point the nameservers for my .FR domain to HostMonster? (updated 989 days ago)
Knowledgebase Article 118,644 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 2019 days ago)
Knowledgebase Article 65,476 views tags: cannot connect mozilla smtp thunderbird