Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 6 of 6

This is a discussion on PHP socket_bind issue in the Design and Development forum
I'm a bit out of my depth on this so apologies if I'm not explaining the problem well. I'm trying to use PHP on a ...

  1. #1
    JPC Member
    Join Date
    Nov 2010
    Posts
    4

    PHP socket_bind issue

    I'm a bit out of my depth on this so apologies if I'm not explaining the problem well.

    I'm trying to use PHP on a website to communicate via a socket to a program on the server. The command socket_create seems to work (a resource ID is allocated) but the command socket_bind results in this message:
    Address already in use

    The program listens to port 2306. Would that port be blocked? Does the web server not have permission to bind to a socket? Sorry, as I said, thrashing about in the dark to try and solve this.

  2. #2
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,304
    I am not familioar with PHP sockets, but lots of ports are blocked by default on shared servers. Also, background processes are generally not allowed on shared servers. If you're on a VPS it's a different story.

    I'd open a ticket with support, I'm sure they'd be happy to address your questions.
    Good luck

  3. #3
    JPC Member
    Join Date
    Nov 2010
    Posts
    4
    Thanks for the quick reply. It is on a VPS. I don't think it's a server problem, but you're right, probably best to go through support.

  4. #4
    JPC Dream Team
    Join Date
    May 2007
    Location
    JPC
    Posts
    635
    Was this resolved. If not, please provide the ticket ID here so that we can check it for you.
    Jawad A.
    JaguarPC
    Site Links:
    Knowledge Base | Network Status

  5. #5
    JPC Member
    Join Date
    Nov 2010
    Posts
    4
    I have opened a ticket and will resolve the problem through the client support system. Thanks for looking into the forum post.

  6. #6
    JPC Dream Team
    Join Date
    May 2007
    Location
    JPC
    Posts
    635
    You are always welcome. It would be helpful for others facing a similar issue if you post the eventual solution in the forums.
    Jawad A.
    JaguarPC
    Site Links:
    Knowledge Base | Network Status

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •