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 138,447 views bookmark tags: ip port (updated 25 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 25 days ago)
Knowledgebase Article 229,919 views tags: ip port secure

How can I change the outgoing SMTP port from 25 to 26? (updated 1819 days ago)
Knowledgebase Article 249,507 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 1222 days ago)
Knowledgebase Article 159,467 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 2021 days ago)
Knowledgebase Article 41,492 views tags: create unable wordpress

I cannot make an outbound connection from my script (updated 25 days ago)
Knowledgebase Article 82,883 views tags: ip outgoing port

How to modify the Exim Port (Mail Transfer Agent) in the WHM (updated 704 days ago)
Knowledgebase Article 15,361 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 2057 days ago)
Knowledgebase Article 85,212 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 2057 days ago)
Knowledgebase Article 88,038 views tags: php unable

Why am I unable to point the nameservers for my .FR domain to HostMonster? (updated 1026 days ago)
Knowledgebase Article 121,574 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 2056 days ago)
Knowledgebase Article 66,074 views tags: cannot connect mozilla smtp thunderbird

Explains how to change the SSH port through the root user. (updated 830 days ago)
Knowledgebase Article 7,600 views tags: shell