Warning: socket_connect() unable to connect [113]: No route to host

liceen

Member
Sep 5, 2007
7
0
51
who can help me?
i got a VPS form my friend for my PROXY site
because my proxy need connect foreign port
when i installed CSF on my vps
and
i allow TPC/UDP in and out port fllow
1080 3128 8000 8080 and so on....
ok,i test my socket_connect
if the foreign ip is a HTTP/HTTPS proxy ,my script worked ok
but,when i connect to SOCKS4/5 proxy,i got the fllow warning

Warning: socket_connect() [function.socket-connect]: unable to connect
or
Warning: socket_connect() unable to connect [113]: No route to host

when i stop CSF and IPTABLES service,the warning yet

who can tell me: why "No route to host"?

and

i ping this ip or traceroute it on my vps as ROOT user ,all fine