add compatibility for network adapter error when http_server bind port