2 Replies Latest reply on Oct 12, 2007 5:54 AM by Andrew Chamberlain

    Unable to Open Socket to JBoss

    Andrew Chamberlain Newbie

      Hi All,

      Just wondering if anyone can help. I'm trying to submit an HTTP POST request to a JBoss application (from a PHP client), but I'm getting permission denied (error 13) when first attempting to connect to the JBoss server.

      I don't think it's our firewall as we've removed all rules without making any difference. Is it possible that JBoss might be rejecting this? If so, is there a way of allowing it?

      We are running version 4.0.5.GA on a Fedora Core 6. In case it helps, I've included a condensed snippet of PHP where the error manifests.

      Any advice/suggestions would be very welcome.


      $host = "localhost";
      $port = 8080;
      if (!$fp = @fsockopen($host, $port, $errno, $errstr, 30))
       echo "Error (" . $errno . "):" . $errstr;
       echo "Connected OK.";