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.

  • 1
    Have you tried looking into the logs for these things? – goldilocks Aug 29 '16 at 14:17
  • The service status says that the service is running, it's just unreachable from other hosts – Scanfi98 Aug 29 '16 at 14:24
  • 1
    You should edit in exactly what error you get: Does it time out or does the application give you a message right away that it is unreachable? Or is it saying it cannot find the host by name? – goldilocks Aug 29 '16 at 14:26
  • The problem is that i don't get any errors in the server. I just got a "Connection Refused" from any client i try to use. – Scanfi98 Aug 29 '16 at 14:30
  • You should check locally to confirm the ports are open, e.g., lsof -i tcp:80 for a normal HTTP server should show apache/httpd there. If not the server has gone down. If it is there something strange is perhaps going on with DNS. Clarify the context by explaining where the server is in relation to the clients: Are they all on a home LAN? If so, how does the server get an IP and how is the hostname resolution taking place? Avahi? – goldilocks Aug 29 '16 at 14:36

Sounds to me like the network adapter is timing out. This is a problem that caused me months of hassles on my RPi2; however it was all solved when I made a small entry in one of the network files. Problem: I cannot remmeber what it was that I changed and I cannot find the post that gave me the solution. But hopefully some other RPiman will use this as a clue to help you.

Cheers, ianm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.