Unable to access someof my LAN servers from WAN
Unable to access someof my LAN servers from WAN
Hi there,
I am pretty new to Linux, so apologies for any stupidly obvious answers I might miss; I have a Raspberry Pi with some self hosted stuff to use in my LAN - however I have recently decided to host a Gogs (git) server on there also (as well as a Wordpress server).
Heres the issue - my Plex server is accessible from WAN, the Wordpress server is half working and the Gogs server is only accessible from LAN.
Basically if I connect to the server with LAN IP it works, if I use WAN IP it doesnt (The server at IP is taking too long to respond). One weird thing I noticed is that the Wordpress server - if I try to go to that via WAN IP it doesn’t work, but if I go via the DNS it works fine.
The Gogs server is using Docker, Wordpress just uses nginx. I have a static IP and have forwarded the correct ports on my router, I also have a new modem for fibre that I have not used before - not sure if that matters.
I'm mostly focused on getting the Gogs server accessible from WAN, I'm not too fussed about Wordpress right now since that works via DNS anyway.
Really appreciate any possible solutions you guys might know
Does your nginx config know how to handle a direct IP address request? Seems like its set up for domain name only?
To be honest I think the wordpress install handled all that, or maybe wordpress handles it inheritly, I'm not sure. I simply pointed a domain to my static ip and forwarded http/https to the correct LAN ports and it just worked on its' own.
I probably shouldn't have mentioned Wordpress, I'm mostly focused on the Gogs server right now, I just added it for more context on the issue
Oh yeah my mistake. Ill give it some thought but in the meantime you might find more help in the selfhosted community