Using Localhost 127.0.0.1 for multiple things
-
I'm a bit outside of my lane on this one...
I'm using 127.0.0.1 for my DNS Resolver for my main network. I have a VLAN for my security cameras where I'm running a server with Blue Iris NVR software. Blue Iris uses CodeProject AI for image alerts with the default server IP of 127.0.0.1 port 5000.
I've switched my AI to 127.0.0.2 as to not interfere with the DNS Resolver, but I'm still having some issues with it.
Questions are...
-
Since DNS isn't running on port 5000, can I use AI on the same IP? Or, would it be best to change the IP?
-
Does the local host have the full /24 or even more addresses?
-
I'd like to use local host DNS for this VLAN, but would it make more sense just to use 8.8.8.8 or 1.1.1.1?
Any thoughts ore ideas are appreciated.
-
-
@aramp1 This is completely unrelated to pfSense...
Since 127.0.0.1 references ONLY your specific machine (VM or not) it will have zero effect over your firewall.
-
-
Local host is a single special purpose address.
But, like any IP address, it can listen on multiple ports for different services. Port 5000 would not interfere with DNS.
It doesn't apply to a VLAN though. Localhost is only valid on that specific host. Anything else would be unable to connect to it without some forwarding in place; on the host itself.
Steve