This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host 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 Just Host 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 229,333 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

What is the difference between a Shared & Dedicated IP? How do I get Port Access? What type of SSL Certificate is right for me?
Knowledgebase Article 486,097 views tags: ip port secure

How can I change the outgoing SMTP port from 25 to 26?
Knowledgebase Article 580,810 views tags: email outgoing port send sending smtp

I cannot make an outbound connection from my script
Knowledgebase Article 231,370 views tags: ip outgoing port

Related Help Content

WordPress Error: Unable to create directory /wp-content/uploads/2009/mydir/summer/ Is its parent directory writable by the server?
Knowledgebase Article 220,538 views tags: create unable wordpress

How to modify the Exim Port (Mail Transfer Agent) in the WHM
Knowledgebase Article 116,579 views tags: dedicated exim outgoing port sending server whm

How can I gain access to blocked ports? What port numbers can be opened?
Knowledgebase Article 182,361 views tags: access firewall outgoing port restrictions

I need to be able to change the port used by Eudora for incoming or outgoing mail.
Knowledgebase Article 187,551 views tags: eudora 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
Knowledgebase Article 176,996 views tags: fatal php read unable

Explains how to change the SSH port through the root user.
Knowledgebase Article 84,826 views tags: shell

If you are unable to validate your account, have lost your password and are unable to receive a password reset or validation token due to the email address on file being inaccessible, If you are attempting to make updates to the domains, contact information and do not have access to the listed regis
Knowledgebase Article 31,602 views tags:

What does it mean when it says that a System Administrator is "Investigating Server Performance"?
Knowledgebase Article 202,218 views tags: investigating problem

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.