Mechanize error Can't connect to XXX conection timeout
Publicado: 2016-05-12 09:01 @417
Using perl Syntax Highlighting
- use WWW::Mechanize;
- my $mech = WWW::Mechanize->new();
- $mech->get( "http://kreatibox.com:2086/" );
- response is: Error GETing http://kreatibox.com:2086/: Can't connect to kreatibox.com:2086 connection timeout
Coloreado en 0.002 segundos, usando GeSHi 1.0.8.4
Ese código de arriba me funciona muy bien en mi local y en un servidor de prueba, pero hay otro servidor que no funciona y no sé la razón. La respuesta del soporte fue:
Please note that we cannot enable the port 9443 on the server. You need to find some other way to connect to your source.
Yo necesito consumir unos webservices y todos apuntan a puertos, pero no entiendo por qué no puedo hacer un mech get a una URL que contenga un puerto desde ese servidor.