I turn an unused laptop into an Ubuntu server and everything was working great. I connected to it through ssh on my Windows 10 computer and was able to set up and access Nextcloud to upload all my files. Later the same day I went to upload some more files and I can not access Nextcloud through the URL so I tried to ssh into the server and it says,
ssh: connect to host 192.168.1.82 port 22: Connection timed out
I then pinged the IP and this is what it shows.
Pinging 192.168.1.82 with 32 bytes of data:
Reply from 192.168.1.105: Destination host unreachable.
Reply from 192.168.1.105: Destination host unreachable.
Reply from 192.168.1.105: Destination host unreachable.
Reply from 192.168.1.105: Destination host unreachable.
Ping statistics for 192.168.1.82:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
(the .82 is my server and the .105 is my windows computer)
I am new to working in with Linux and I decided to set up an Ubuntu server to help learn my way around but after hours of searching I could not find anything that helped.
I set the IP to be static and if I ssh 127.0.0.1
everything runs fine. I disabled the firewall on the server to see if that would help but still no luck.
This is an image of details from my router about the server. The IP is set to be static, but it shows that the status is off for some reason. I'm not sure what that means or how to fix it.
This is ipconfig
from my windows computer.
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . : attlocal.net
IPv6 Address. . . . . . . . . . . : 2600:1700:eef1:8500::732
IPv6 Address. . . . . . . . . . . : 2600:1700:eef1:8500:f872:b6be:1554:daea
Temporary IPv6 Address. . . . . . : 2600:1700:eef1:8500:68b0:5914:b408:55e5
Link-local IPv6 Address . . . . . : fe80::f872:b6be:1554:daea%4
IPv4 Address. . . . . . . . . . . : 192.168.1.105
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::3a3b:c8ff:fe26:7dcd%4
192.168.1.254
home_server@homeserver:~$ ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:d0:d2:0d:bb txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 85454 bytes 6965740 (6.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 85454 bytes 6965740 (6.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wls8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.82 netmask 255.255.255.0 broadcast 192.168.1.255
ether 84:ef:18:b4:4c:fe txqueuelen 1000 (Ethernet)
RX packets 27285 bytes 3338490 (3.3 MB)
RX errors 0 dropped 5750 overruns 0 frame 0
TX packets 59891 bytes 13749849 (13.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ssh 127.0.0.1
? Have you set up a static IP address for the server? Edit your question and add all these information. – user68186 Aug 04 '22 at 22:45