Setting up Java to run on port 3619

altendew andrew
Fri Jun 9 12:08:26 PDT 2006


Hi, I need to be able to open a socket through php like this.

66.98.242.36:3619

I currently am getting this error form php when trying to connect to it.

Warning: fsockopen(): unable to connect to 66.98.242.36:3619 in
/usr/lib/php/Net/Socket.php on line 108

In /etc/services I added this:
java            3619/tcp                        # Java
java            3619/udp                        # Java

In /etc/inetd.conf I added this:
java   stream  tcp     nowait  root    /usr/sbin/tcpd java WAPID

"java WAPID" is what im trying to execute. I also allowed this port on my
firewall, so I am not sure why it is not working correctly.

Help is appreciated,
Andrew
--
View this message in context: http://www.nabble.com/Setting-up-Java-to-run-on-port-3619-t1763516.html#a4799315
Sent from the Linux Users (linux-sxs.org) forum at Nabble.com.




More information about the Linux-users mailing list