r/HomeServer • • 4d ago

[ Removed by moderator ]

[removed] — view removed post

0 Upvotes

4 comments sorted by

•

u/HomeServer-ModTeam 6h ago

Your post was deemed to have insufficient information and was removed. You can edit your post then message the mods to have your post re-approved or make a new post with more information.

Rule #2

2

u/buttchuckjones 4d ago

You really need to start from square one. And to be frank, the information you provided is nowhere near enough for someone on the internet to just tell you what the problem is. You really need to collect some actual data for someone to help you troubleshoot. Here are some things to help get you started.

Start with the basics. Can you reach the server at IP level? A simple ping is good enough.

Move onto TCP connectivity. Check what ports your apps are listening on. (Do a Google search or just look at your web url for :<port number>). Once you have the port, log onto the server and verify that the server is ACTUALLY listening on those ports. (I usually do ss -tulpn | grep <port number>) (you could also just do ss -tulpn | grep -i listen)

If the port is listening, do a connectivity test from your accessing computer to that port. nc -zv <server IP> <port number> If windows, you can Test-NetConnection in powershell.

Outside of that, check your application logs. If they have separate web front end services, check those logs too. (Things like httpd, apache, nginx, etc. etc.)

3

u/evild4ve 4d ago

you have no architecture which will make everything the most difficult learning curve possible

the first thing you want isn't the server but a homemade router that will let you see what the network is trying to do. This particular bug looks like it's probably just the Apache2 or nginx behind the service has crashed taking it offline but you need to know about networking to debug servers

the next thing after the router also isn't the services you want it's the basic logging and maintenance ones: if nginx has crashed you don't want the logs in some old laptop, you want them in your browser where you can filter them for the error

so my recommendation would be to go back to the drawing board and spend longer there

2

u/buttchuckjones 4d ago

If nginx or apache crashed you would likely get a conn refused and not a timeout (at least I think OP is trying to describe a timeout).

Ubuntu by default would actively refuse a connection it is not listening for.

All other points are great