...

View Full Version : apache router issue?



angst
05-31-2010, 05:51 PM
Hello,

I have a strange issue with apache2 ( on ubuntu ), hoping that someone here may be able to shed some light on.

here's the situation;

I've got an apache server on my network: 172.25.0.3 ( no firewall )

I need to connect to make a SOAP call to a server thats on an extension of our network: 172.16.107.2

from the console on the apache server I can ping 172.16.107.2, I can also open up a LYNX ( txt based browser ) to 172.16.107.2 and it connects without an issue, however when I try to connect from apache/php I get "failed to open stream".


how if I take my web server, put it on the exact same ( physical ) as "172.16.107.2" it works no problem.

so all I can think of is that apache has some kind of routing issue?

any ideas at all would be a big help at this point!


-Ken

hoothelp
07-07-2010, 10:04 AM
Hello Ken,

What PHP function are you using to make the connection?

Some functions are sanitized by various php.ini settings - several directives can block remote connectivity for safety reasons, e.g: allow-url-fopen (http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen)

Another test is to trying opening a telnet session from 172.25.0.3 to 172.16.107.2 on the port the SOAP server is running. While the IP is accessible, the port may not be.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum