The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    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.
     
Loading...

Share This Page