• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 518 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.
  • A
    ARAMP1
    last edited by ARAMP1 May 2, 2023, 9:09 PM May 2, 2023, 9:08 PM

    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 May 2, 2023, 9:17 PM Reply Quote 0
    • R
      rcoleman-netgate Netgate @ARAMP1
      last edited by May 2, 2023, 9:17 PM

      @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 May 2, 2023, 9:18 PM
      • S
        stephenw10 Netgate Administrator
        last edited by May 3, 2023, 11:20 AM

        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
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received