PuTTY Fatal Error Network error: Connection timed out

I have faced the issue when connecting to CentOS Server or Ubuntu Server using putty thrown error “PuTTY Fatal Error:Network error: Connection timed out” on Ubuntu and CentOS which are virtual machines installed on VMWare.

PuTTY Fatal Error Network error: Connection timed out

Solution PuTTY Fatal Error Network error: Connection timed out on Ubuntu:

Connect to Ubuntu server and open terminal and run the following command.

sudo apt-get install openssh-server

Network error Connection refused Putty Linux

Then, open new putty and try to connect to the Ubuntu Machine.

Network error Connection refused Putty Linux

Solution PuTTY Fatal Error Network error: Connection timed out on CentOS:

1. Connect to the CentOS Server and open the terminal
2. Switch to root user.
su
3. Run the command “dhclient -v”

[root@localhost r2schools]# dhclient -v Internet Systems Consortium DHCP Client 4.2.5 Copyright 2004-2013 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/virbr0-nic/52:54:00:92:4f:5e Sending on LPF/virbr0-nic/52:54:00:92:4f:5e Listening on LPF/virbr0/52:54:00:92:4f:5e Sending on LPF/virbr0/52:54:00:92:4f:5e Listening on LPF/ens33/00:0c:29:02:a3:67 Sending on LPF/ens33/00:0c:29:02:a3:67 Sending on Socket/fallback DHCPDISCOVER on virbr0-nic to 255.255.255.255 port 67 interval 4 (xid=0x15946497) DHCPDISCOVER on virbr0 to 255.255.255.255 port 67 interval 8 (xid=0x3568c98a) DHCPDISCOVER on ens33 to 255.255.255.255 port 67 interval 6 (xid=0x4031d47a) DHCPREQUEST on ens33 to 255.255.255.255 port 67 (xid=0x4031d47a) DHCPOFFER from 192.168.152.254 DHCPACK from 192.168.152.254 (xid=0x4031d47a) bound to 192.168.152.130 -- renewal in 786 seconds.

Then, open new putty and try to connect to the CentOS Machine.

Leave a Reply

Your email address will not be published. Required fields are marked *