Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

connection refused how to open a port being blocked

Discussion in 'General Discussion' started by shahid foy, Aug 3, 2016.

  1. shahid foy

    shahid foy Registered

    Joined:
    Aug 3, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denver
    cPanel Access Level:
    Website Owner
    So I've been working with the OpenSRS API and everything has been going well on my localhost but when I transfer the php files over to the server I keep getting a Connection refused:

    Warning: fsockopen(): unable to connect to ssl://horizon.opensrs.net:55443 (Connection refused) in /home/blue09211/public_html/opensrsexampleTest.php on line 40
    HTTP ERROR!

    It would seem that cpanel or something is blocking port: 55443
    Note: I created a new server and brought the files over and it worked with the OpenSRS API but when I use the server with cpanel it refuses the port. Does anyone have any ideas on how to fix this??
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,585
    Likes Received:
    440
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Have you opened that port in your server's firewall? Your forum profile lists you as Website Owner. Without root access to the server you wouldn't be able to open a port in your firewall. You'll need to speak with your Hosting Provider about this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice