绑定socket公网ip时报错socket_bind():unable to bind address [99]
程序员文章站
2022-05-13 08:27:03
...
绑定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写错了
上一篇: 如何分别全角和半角以避免乱码
下一篇: PHP实现目录列表、文件列表读取