Comment on What steps do you take to secure your server and your selfhosted services?
ocean@lemmy.selfhostcat.com 1 week agoDoes adding 127.0.0.1 make it so only that server can access it or what? I’ve seen that but not understand
Comment on What steps do you take to secure your server and your selfhosted services?
ocean@lemmy.selfhostcat.com 1 week agoDoes adding 127.0.0.1 make it so only that server can access it or what? I’ve seen that but not understand
Chewy7324@discuss.tchncs.de 1 week ago
127.0.0.0 is the localhost. This is the IP the container is listening on. Even if there was no firewall it wouldn’t allow any connection except from the host. If it’s set to 0.0.0.0 it means it’ll allow connections from any IP (which might not be an issue depending on your setup).
The reverse proxy runs on localhost anyway, so any other IPs have no reason to ever have access.
ocean@lemmy.selfhostcat.com 1 week ago
Thanks for explaining this!