Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Using Localhost 127.0.0.1 for multiple things

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    3 Posts 3 Posters 538 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ARAMP1A
      ARAMP1
      last edited by ARAMP1

      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.

      AI.jpg

      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...

      1. 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?

      2. Does the local host have the full /24 or even more addresses?

      3. 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.

      R 1 Reply Last reply Reply Quote 0
      • R
        rcoleman-netgate Netgate @ARAMP1
        last edited by

        @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.

        Ryan
        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
        Requesting firmware for your Netgate device? https://go.netgate.com
        Switching: Mikrotik, Netgear, Extreme
        Wireless: Aruba, Ubiquiti

        1 Reply Last reply Reply Quote 1
        • R rcoleman-netgate moved this topic from General pfSense Questions on
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          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

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.