Centos 6.2, Apache 2 and Listen port for socket connection

Posted by salvosav on Server Fault See other posts from Server Fault or by salvosav
Published on 2012-10-10T21:02:26Z Indexed on 2012/10/10 21:40 UTC
Read the original article Hit count: 151

Filed under:
|

I'm trying to make a socket connection between a client and my server through a php script. To do this, I opened a port on iptables, and configure a virtual host with apache to redirect all traffic from my door to the folder that contains the file index.php, which is my script.

Doing some tests the door is open, but using command netstat -ltn , I see ':::35100'.

Looking on the net I understand if in this way is only listen inward and not outward.

But I don't understand how can I turn this ':::35100 '->' in this '0.0.0.0:35100 '. Or, better yet, how to add this rule.

Any ideas? thanks

© Server Fault or respective owner

Related posts about apache2

Related posts about socket