首頁  >  文章  >  後端開發  >  绑定socket公网ip时报错socket_bind():unable to bind address [99]

绑定socket公网ip时报错socket_bind():unable to bind address [99]

WBOY
WBOY原創
2016-06-06 20:19:014735瀏覽

绑定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写错了

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn