简体   繁体   English

无法打开到服务器的套接字连接。 错误 (110):连接超时

[英]Couldn't open socket connection to server. Error (110): Connection timed out

I have the following Webservice which is a third-party WS:我有以下 Web 服务,它是第三方 WS:

(http:// host:453/INTEGRA/WSRG001.pgm?xml=(PAIS)GT(/PAIS)(ORDEN)JZ9000104(/ORDEN)(TIPO)2(/TIPO)(NUMERO)P734FPS(/NUMERO)) using this tags "<>"

host: 200.114.117.11主机:200.114.117.11

It needs to send the parameters by xml or nusoap.它需要通过xml或nusoap发送参数。

I have the following code as well:我也有以下代码:

$server = new nusoap_client('http://200.114.117.11:453/INTEGRA/WSRG001.pgm?xml',false);

print_r($server);

$request = array(
               array(
                       array('PAIS' => 'GT'),
                       'STRUCT'
                    ),
               array(
                       array('id_number' => '123'),
                       'STRUCT'
                    )
           );

$row =  $server->call('ORDENTALLER',$orden);
if ($server->fault) {
    echo 'Fault'. print_r($result);
} else {
    // Check for errors
    $err = $server->getError();
    if ($err) {
        // Display the error
        echo 'Error'. $err;
    } else {
        // Display the result
        echo 'Result' . print_r($row);
    }
}

I'm getting:我越来越:

ErrorHTTP Error: Couldn't open socket connection to server Http// 200.114.117.11:453 / INTEGRA/WSRG001.pgm?xml, Error (110): Connection timed out ErrorHTTP 错误:无法打开到服务器 Http// 200.114.117.11:453 / INTEGRA/WSRG001.pgm?xml 的套接字连接,错误 (110):连接超时

Any idea why this is not working?知道为什么这不起作用吗? I'm working on CodeIgniter, by the way.顺便说一下,我正在研究 CodeIgniter。

You need to allow Port 453 for what you want, allow this port in your firewall您需要根据需要允许端口 453,在防火墙中允许此端口

I hope this will help you into the right direction我希望这会帮助你走向正确的方向

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Beanstalk获取套接字错误110:连接超时 - Beanstalk Getting Socket error 110: Connection timed out SMTP-&gt;错误:无法连接到服务器:连接超时(110) - SMTP -> ERROR: Failed to connect to server: Connection timed out (110) PHP 中的“HTTP 错误:无法打开与服务器 http 的套接字连接” - “HTTP Error: Couldn't open socket connection to server http” in PHP SMTP-&gt;错误:无法连接到服务器:连接超时(110)SMTP错误:无法连接到SMTP主机。 - SMTP -> ERROR: Failed to connect to server: Connection timed out (110) SMTP Error: Could not connect to SMTP host. PHPMailer SMTP无法连接到服务器:连接超时(110)到Gmail - PHPMailer SMTP Failed to connect to server: Connection timed out (110) to Gmail PHPMailer的臭名昭著的SMTP错误:无法连接到服务器:连接超时(110)SMTP connect()失败 - PHPMailer's infamous SMTP ERROR: Failed to connect to server: Connection timed out (110) SMTP connect() failed SMTP错误:无法连接到服务器:使用PHPMailer和Outlook SMTP连接超时(110) - SMTP ERROR: Failed to connect to server: Connection timed out (110) with PHPMailer and Outlook SMTP SMTP 错误:无法连接到服务器:使用 phpmailer 时连接超时(110) - SMTP ERROR: Failed to connect to server: Connection timed out (110) when using phpmailer http错误无法打开与服务器nusoap错误13的套接字连接 - http error couldn't open socket connection to server nusoap error 13 警告:socket_connect()[function.socket-connect]:无法连接[110]:连接超时 - Warning: socket_connect() [function.socket-connect]: unable to connect [110]: Connection timed out
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM