I have a Raspberry Pi 3 with Raspbian installed on it. However, I've tried also tried Ubuntu Mate, and I had the same problem. After a while my LAMP server, SSH server and FTP server become unreachable. I tried to see if it was a problem with the connection, but the ICMP protocol worked perfectly. Does anyone have any advice?
EDIT: this morning worked well for about an hour before the problem.