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

info info@REDACTED
Tue Aug 18 15:18:10 CEST 2009

Probably ... or another one: I stopped my firewall and always the problem !

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

erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org

More information about the erlang-questions mailing list