Centos with Apache server.
Php version 4.3
wanting to send data out a socket for reading by another computer Program (windows).
I read the data from a third computer (windows). On the Centos server box I manipulate the data and want to send out to be read by a program on a windows machine. My problem is that I cannot open a socket to write to.
PHP Code:
$fp= fsockopen("192.168.1.102",30003,$errno,$errstr,30);
error is -
Warning: fsockopen(): unable to connect to 192.168.1.102:30003 in reroute.php on line 48
I have disabled the firewall, error the same.
192....102 is the centos server.
replacing 192.168.1.102 with localhost same error.
The php script is being run with root.
thanks for your help.