[jboss-user] [Security & JAAS/JBoss] - Socket Connection Denied?
andrewjc
do-not-reply at jboss.com
Fri Oct 5 07:12:09 EDT 2007
Hi All,
Just wondering if anyone can help. I'm trying to submit 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.
What I'm trying to work out is where the problem is. I don't think it's our firewall as we've temporarily 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.
Andy
<?php
|
| $host = "localhost";
| $port = 8080;
| if (!$fp = @fsockopen($host, $port, $errno, $errstr, 30))
| {
| echo "Error (" . $errno . "):" . $errstr;
| }
| else
| {
| echo "Connected OK.";
| fclose($fp);
| }
|
| ?>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091933#4091933
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091933
More information about the jboss-user
mailing list