$socket = fsockopen ( "{$this->ssl}{$this->host}", $this->port, $errno, $errstr, 20 );这样写不好用
$socket = fsockopen ( "localhost", $this->port, $errno, $errstr, 20 );这样也不好用,
$socket = fsockopen ( "127.0.0.1", $this->port, $errno, $errstr, 20 );这样就好用
系统中的hosts文件中有127.0.0.1 localhost和localhost 127.0.0.1这两行
求高手指点,什么原因,怎么改能用localhost访问
$socket = fsockopen ( "localhost", $this->port, $errno, $errstr, 20 );这样也不好用,
$socket = fsockopen ( "127.0.0.1", $this->port, $errno, $errstr, 20 );这样就好用
系统中的hosts文件中有127.0.0.1 localhost和localhost 127.0.0.1这两行
求高手指点,什么原因,怎么改能用localhost访问
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货