Socket client = new Socket("192.168.199.118", 26201); //这句提示的 unable to resolve host "192.168.199.118". No address associated with hostname
我是直接写ip地址的,为什么会提示未知的host??
...全文
6183打赏收藏
使用socket连接时提示unknowhostexception
Socket client = new Socket("192.168.199.118", 26201); //这句提示的 unable to resolve host "192.168.199.118". No address associated with hostname 我是直接写ip地址的,为什么会提示未知的host??