When using Xshell to connect a server in a virtual machine, the following error is reported and disconnected, before the connection is quite stable, and suddenly it is.
Last Login:thuTen +: -: - . from 192.168.1.102[[Email protected]~]# Socket error Event: +Error:10053. Connection closing ... Socket Close. Connection closed by foreign host. Disconnected fromRemote Host (192.168.1.111: A) at +: -: the. Type ' Help'To learn how to use Xshell prompt.
And then on the internet a variety of find, what firewall ah, what connection times ah interval Ah, various try all kinds of not.
Then I went to the router management page and saw that the IP of this machine is 192.168.1.102, after a while the IP becomes 192.168.1.111, unexpectedly see the native IP has changed several times, and just like the IP set in my virtual machine, that is the conflict, Later found that the native IP is self-allocated, not manually specified, manually assigned to the local IP , there is no connection failure or disconnect the situation, good Kai Sen ...
Xshell failed to connect to the server in the virtual machine, the connection was interrupted (Connection closed by foreign host.)