I've had my Raspberry pi 3 for a couple of years and everything has worked fine. A week ago I bought a new router + AP and the Pi could connect (through ethernet to my router as well as the Wifi) without any issues. In the router it gets one ip for the Wifi-connection and one for the ethernet (I guess that's normal?). I've set an ip-reservation on the dhcp for the ethernet in my router and everything worked perfectly and I have accessed it a couple of times each day.
Today, when I tried to access a webserver on the Pi I got ERR_CONNECTION_REFUSED and when I tried to SSH into it I get Connection Refused. I tried another service running on the Pi which is exposed on a third port, and this did not work either. But I CAN ping the Raspberry using the ethernet-ip.
However if I change to the Wifi-ip I can access the webserver, the service and SSH.
Running ifconfig on the Pi gives (192.168.168.14 is the static ip for the ethernet, which does not work, while .236 is the one for the Wifi which works).
pi@raspberrypi:~ $ 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 [[MAC]] 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
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.14 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 [[MAC]] prefixlen 64 scopeid 0x20<link>
ether [[MAC]] txqueuelen 1000 (Ethernet)
RX packets 604 bytes 249961 (244.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 367 bytes 44103 (43.0 KiB)
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 1352 bytes 249602 (243.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1352 bytes 249602 (243.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.236 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 [[MAC]] prefixlen 64 scopeid 0x20<link>
ether [[MAC]] txqueuelen 1000 (Ethernet)
RX packets 170 bytes 41919 (40.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28 bytes 4449 (4.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Checking the traffic analyser in my router tells me that the Pi is sending and receiving traffic over the ethernet-interface.
What could be the reason I cannot access it over ethernet? I have not changed anything (as far as I recall...) on the router or on the Pi.
Output from tcpdump in wireshark where 192.168.1.14 is the eth0-ip of my Pi, and 192.168.1.5 is the ip of the access-point where my computer that I'm trying to connect to the Pi with is connected.
12 2.062785 192.168.1.5 192.168.1.14 TCP 74 45848 → 8080 [SYN] Seq=0 Win=29200 Len=0 MSS=1460 SACK_PERM=1 TSval=621222 TSecr=0 WS=16
13 2.062993 192.168.1.14 192.168.1.5 TCP 74 8080 → 45848 [SYN, ACK] Seq=0 Ack=1 Win=65160 Len=0 MSS=1460 SACK_PERM=1 TSval=2910307558 TSecr=621222 WS=128
sudo tcpdump -w dump.pcap eth0
and connect to your webserver (or SSH) over the ethernet. Later, you can stop the tcpdump (ctrl+c) and load the generated file in Wireshark to discover if any incoming packets are there.