作者:hola'thrme | 来源:互联网 | 2018-05-17 04:22
绑定socket公网ip时报错PHPWarning:socket_bind():unabletobindaddress[99]:Cannotassignrequestedaddressinvarwwwhtmltcp.phponline8
绑定socket 公网ip时报错PHP Warning: socket_bind(): unable to bind address [99]: Cannot assign requested address in /var/www/html/tcp.php on line 8
回复内容:
绑定socket 公网ip时报错PHP Warning: socket_bind(): unable to bind address [99]: Cannot assign requested address in /var/www/html/tcp.php on line 8
1、端口被占用了
2、端口处于TIME_WAIT状态
3、IP写错了
肯定是IP写错了