Bluehost Web Hosting Help

Problem using 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 Bluehost account.

You may purchase a Dedicated IP address from within your cPanel by clicking on the Dedicated IP tab at the top of the page.

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

Knowledgebase Article 161,716 views bookmark tags: ip port


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Shared vs. Dedicated IPs & Port Access

What is the difference between a Shared & Dedicated IP? How do I get Port Access? What type of SSL Certificate is right for me?

Email Troubleshooting - Change SMTP Port from 25 to 26

How can I change the outgoing SMTP port from 25 to 26?

Script Cannot Make Outbound Connection

I cannot make an outbound connection from my script

Related Help Content

Wordpress Error: Unable to create directory

Wordpress Error: Unable to create directory /wp-content/uploads/2009/mydir/summer/ Is its parent directory writable by the server?

VPS or Dedicated Hosting - Modify Exim Port (Mail Transfer Agent)

How to modify the Exim Port (Mail Transfer Agent) in the WHM

Open New Ports

How can I gain access to blocked ports? What port numbers can be opened?

How to Change Ports in Eudora 6.0 and Up

I need to be able to change the port used by Eudora for incoming or outgoing mail.

Fatal error: Unable to read X bytes in /home/user/public_html/myfile.php on line Y

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

Changing the SSH Port

Explains how to change the SSH port through the root user.

Investigating Performance

What does it mean when it says that a System Administrator is "Investigating Server Performance"?

Local MySQL Connection Blocked To Server

I get the following database connection error: Warning: mysql_connect() [function.mysql-connect]: Host 'host#.BlueHost.com' is blocked because of many connection errors; unblock with 'mysqlad