[erlang-questions] difference for tcp between PHP and Erlang

Raimo Niskanen raimo+erlang-questions@REDACTED
Tue Aug 18 12:25:49 CEST 2009

On Tue, Aug 18, 2009 at 12:04:56AM +0100, info wrote:
> Hi all,
> I can execute fsockopen("www.google.com",80) with PHP but not
> gen_tcp:connect("www.google.com",80,[binary,{packet,0}]) with erlang which returns {error,timeout} !
> why ?

Maybe you have a firewall problem, and PHP is configured
to use a proxy...


/ Raimo Niskanen, Erlang/OTP, Ericsson AB

More information about the erlang-questions mailing list