Blog

BACnet/IP Port 47808, Firewalls and VLANs: Why You Can't See the Devices

2026-11-21 · 13 min read BACnetBACnet/IPUDP 47808firewallVLANnetworkingtroubleshooting

Short answer

BACnet/IP uses UDP port 47808 (0xBAC0 in hex) by default, for both unicast messages and broadcasts such as Who-Is. Devices must also accept other ports, at least 47808 to 47823 and 49152 to 65535, and a different port on the same subnet makes a separate BACnet network. When devices do not show up, check that your tool uses the same UDP port as the site, that the PC firewall lets UDP 47808 in, and that a BBMD carries broadcasts between VLANs.

You plug into the building network, start your BACnet tool, press discover, and the list stays empty. The controllers are powered, IT says the network is fine, and a ping to the supervisory controller works. In most cases the problem is not BACnet itself but the path for BACnet/IP port 47808: a firewall that blocks UDP, a tool listening on the wrong port, another program already holding the port, or a VLAN boundary that stops the broadcasts.

This guide explains the port, the other ports BACnet/IP may use, what to ask IT for, and how to find the cause step by step. Facts come from Annex J of ASHRAE Standard 135 (BACnet/IP) and its official interpretations. Screenshots come from BacLens on a simulated site.

What is BACnet/IP port 47808?

BACnet/IP sends every message as a UDP datagram, and the standard default port is 47808, written 0xBAC0 in hexadecimal. The same port is used for directed (unicast) messages, such as ReadProperty, and for broadcasts, such as Who-Is and I-Am. A BACnet/IP device listens on its port and, in the normal case, sends from it too.

A few things to keep in mind:

  • It is UDP, not TCP. A firewall rule for "TCP 47808" does nothing for BACnet/IP. There is no connection: a datagram arrives or is lost, and BACnet retries if it needs an answer.
  • Every packet starts with a BVLC header: 0x81, then the function (0x0A unicast, 0x0B broadcast, 0x04 forwarded by a BBMD).
  • Broadcasts go to the subnet's broadcast address on the same port. A Who-Is from 192.168.10.50/24 goes to 192.168.10.255:47808. Only devices on that subnet and listening on that port receive it.
  • BACnet/SC is different. BACnet Secure Connect does not use UDP 47808 at all: it runs over TLS WebSockets on a TCP port that the hub is configured with. BACnet/IPv6 (Annex U) also uses 0xBAC0 as its default UDP port, but replaces broadcasts with IPv6 multicast.

Which UDP ports can BACnet/IP use?

Any BACnet/IP device must support 47808 and must let you configure the UDP port; at a minimum it must accept the values 47808 to 47823 and 49152 to 65535. This is confirmed in an official ASHRAE interpretation of Standard 135 (IC 135-2024-12). The range 47808 to 47823 is 0xBAC0 to 0xBACF in hex, which is why you will often see sites use 47809 or 47810 for a second network.

Port (decimal) Hex Typical use on site
47808 0xBAC0 Default: almost every BACnet/IP device and tool out of the box
47809 to 47823 0xBAC1 to 0xBACF A second or third BACnet/IP network on the same IP subnet, a gateway port, a separate tenant system
49152 to 65535 — Dynamic range; some tools bind a temporary port here, or a site picks a high port for one system
Any other value — Possible if the vendor allows it, but not required by the standard: check the device's documentation

A different UDP port means a different BACnet network

Annex J treats a BACnet/IP network as the devices that share an IP subnet (or subnets joined by BBMDs) and a UDP port. Two groups of devices on the same subnet, one on 47808 and one on 47809, never hear each other's broadcasts and cannot talk directly. They are two BACnet networks, each needs its own network number, and only a BACnet router with a port on each can join them.

Useful on purpose (a tenant system or test bench kept apart), confusing by accident: a controller set to 47809 during commissioning is invisible to a tool on 47808 on the same switch.

Why can't I see the BACnet devices? The five usual causes

When a BACnet/IP discovery finds nothing, the cause is almost always one of five things: wrong port, firewall, port already in use, VLAN boundary, or NAT. Here is how each one looks on site.

Symptom Likely cause First check
Nothing answers at all, even on your own subnet Windows firewall blocks inbound UDP, or the PC is on a Public network profile Allow inbound UDP 47808 for your tool, set the network to Private
The tool refuses to start or shows "address already in use" (Windows error 10048) Another BACnet program on the PC holds UDP 47808 Get-NetUDPEndpoint -LocalPort 47808 and close that program
Some controllers answer, others on the same switch never do They use another UDP port, such as 47809 Check the port in the controller's network settings
Devices on your subnet answer, devices on other VLANs don't Broadcasts stop at the router between VLANs; no BBMD A BBMD on each subnet, or register as a foreign device
Who-Is gets answers, but reads time out Unicast blocked one way by a firewall or ACL, or NAT in the path Allow UDP 47808 both ways; avoid NAT, use a VPN

1. Your tool and the site use different ports

A BACnet tool only hears broadcasts sent to its own UDP port. If the site runs on 47808 and your tool listens on 47809, your Who-Is goes out on 47809 and nobody on 47808 hears it. The reverse happens when a tool binds a random high port because 47808 was busy: a device that answers with a broadcast I-Am sends it to the network's port (47808), not to your temporary port. Directed replies (to a ReadProperty, for example) go back to the source address and port of the request, so they still arrive.

Rule: the local port of your tool must be the site's BACnet port for that network.

2. A firewall blocks UDP 47808

The Windows firewall blocks unsolicited inbound UDP by default, and a BACnet/IP tool depends on inbound UDP. Broadcast I-Am answers, COV notifications, event notifications and I-Am announcements at device startup all arrive without the PC having sent a matching unicast first. The firewall cannot pair them with an outgoing packet, so it drops them unless a rule allows UDP 47808 in.

It gets worse on laptops: when Windows first asks "Allow this app on networks?", many people tick only Private, and a building network without a domain controller is often classed as Public, so the app stays blocked.

An administrator can add one inbound rule. In an elevated PowerShell:

New-NetFirewallRule -DisplayName "BACnet UDP 47808" -Direction Inbound -Protocol UDP -LocalPort 47808 -Action Allow -Profile Any

Change 47808 if the site uses another port. On a company laptop, group policy can override local rules: ask IT to push the rule instead.

3. Another program already holds port 47808

On Windows, only one program can normally bind UDP 47808 on a given address at a time. Leave a BMS workstation, another BACnet explorer or a simulator running, and the next BACnet program fails to start, falls back to another port, or binds another network card: an empty device list each time.

Find the owner in PowerShell:

Get-NetUDPEndpoint -LocalPort 47808 | Select-Object LocalAddress, LocalPort, OwningProcess, @{n='Process';e={(Get-Process -Id $_.OwningProcess).ProcessName}}

or with netstat -ano -p udp | findstr 47808, then look up the PID in Task Manager. Close the other program, or give your tool a different local address (another network card) if it supports that.

4. A VLAN or router boundary stops the broadcasts

Each VLAN is its own IP subnet and broadcast domain, and IP routers (including layer-3 switches) do not forward broadcasts. Your Who-Is to 10.20.5.255 never reaches 10.20.30.0/24, even if a rule allows UDP 47808 between the two VLANs. Unicast still works across the router, which is why a known device can sometimes be read by its IP address while discovery shows nothing.

The BACnet fixes are:

  1. Put your PC on the controllers' VLAN (a port on the right VLAN, or a site VPN that lands there).
  2. Use the site's BBMDs: one BBMD per subnet, same Broadcast Distribution Table in each. See our BBMD guide for the table and the foreign device registration.
  3. Register your PC as a foreign device with the BBMD of a subnet you can reach.

A wrong subnet mask on a controller has the same effect inside one VLAN.

5. NAT between you and the devices

BACnet/IP carries IP addresses inside its own packets, so network address translation breaks it. A Forwarded-NPDU from a BBMD contains the original sender's IP and port; the tool then tries to read that private address, which the NAT does not reach. A VPN that gives your PC a routed address on the site avoids this. Annex J has provisions for BBMDs behind NAT, but support varies: check the vendor's documentation.

Step by step: checking the port and the path with BacLens

The fastest way to find which of the five causes you have is to check them in order: your port, the BBMD's port, a test of the whole path, then the packets themselves. BacLens, our free BACnet explorer, has each of these checks built in. The screens below come from the free BacLens Sim, which runs a simulated office building and a plant building on loopback addresses (127.x.x.x) of the same PC.

Step 1: Check the network card and the UDP port

Open the connection settings. For a direct BACnet/IP connection (the PC is on the devices' subnet), two settings decide everything: which network card the Who-Is goes out on, with its mask, and the UDP port.

BacLens connection settings for the Office building: network card 127.0.0.9/8 and UDP port 47808 outlined

Here the office connection uses address 127.0.0.9 with a /8 mask and UDP port 47808, the default. BacLens builds the broadcast address from the mask. On a real site, pick the card plugged into the BMS network (for example 192.168.10.50/24) and keep 47808 unless the integrator's documents say otherwise.

Step 2: Check the BBMD's port separately from yours

When the devices are on another subnet, there are two ports in play: the port your PC listens on, and the port the BBMD listens on. They do not have to be the same.

BacLens BBMD connection for the Plant building: this PC's UDP port 47961 and the BBMD's UDP port 47809 outlined, status registered

In the plant building example, the BBMD is at 127.0.2.1 on UDP port 47809, and BacLens listens on port 47961 on this PC. The badge shows registered: the BBMD accepted the foreign device registration (renewed every 300 seconds) and sends everything back to 127.0.0.1:47961. A foreign device can use any free port, because the BBMD replies to the address and port it registered from. Typing 47808 for a BBMD that runs on 47809 gives "no answer" every time.

Step 3: Run a step-by-step test of the path

A test that checks each link in order shows where the chain breaks.

BacLens connection test for the Office building: network card and UDP port 47808, Who-Is answered by 14 devices, direct read of device 1000 BLDG-RTR

On the simulated office, all three steps pass:

  1. Network card: 127.0.0.9/8, UDP port 47808 ("?" as card name because the simulator uses a loopback address).
  2. Who-Is: 14 devices answered, for example 1000 at 127.0.0.20 and 2001 to 2005 on network 2 behind a router (2:11 = network 2, MAC 11).
  3. Direct read: device 1000 (BLDG-RTR) at 127.0.0.20 was read, so unicast works both ways.

When a step fails, the test says what to do: close the other BACnet program if the port is in use, check the card's subnet and the Windows firewall (with the exact netsh command for an administrator) if nothing answers, and change a Public network profile. BacLens never changes the firewall itself.

Step 4: Look at the packets

Finally, confirm what goes out and what comes back in the analyzer.

BacLens analyzer on the Office connection: a Who-Is Original-Broadcast-NPDU from 127.0.0.9 to broadcast, then I-Am answers from devices 4002 and 2001 to 2006

Read it from the bottom: packet 3693 is the Who-Is from 127.0.0.9 to broadcast (Original-Broadcast-NPDU). Within about 100 ms the I-Am answers arrive: device 4002 at 127.0.1.5, then devices 2001 to 2006 (VAV-101 to VAV-106) via the router at 127.0.1.1. These simulated devices answer by unicast; on a real site many answer with a broadcast I-Am, exactly the traffic a firewall or a wrong local port drops.

What to conclude:

  • Who-Is goes out, nothing comes back: inbound firewall on the PC, wrong port on the devices, or wrong subnet.
  • Nothing goes out: the tool is not bound to the card you think, or the port could not be opened.
  • Answers come back but reads fail: a one-way rule or NAT between you and the devices.

If you prefer Wireshark, the display filter bvlc or udp.port == 47808 shows the same exchange. For a non-standard port, use Decode As and set UDP port 47809 (or whichever) to BVLC, or Wireshark will show plain UDP.

Worked example: what to ask IT for

Give IT a precise list of addresses, protocol and port in both directions, not "please open BACnet". A typical building: the workstation on a management VLAN, the controllers on two others.

Site layout:

  • BMS workstation: 10.20.5.50/24 (VLAN 105)
  • BACnet/IP controllers, floors 1 to 4: 10.20.30.0/24 (VLAN 130), BBMD in the supervisory controller at 10.20.30.10
  • Plant room controllers: 10.20.40.0/24 (VLAN 140), BBMD in the BACnet router at 10.20.40.2
From To Protocol / port Why
10.20.5.50 10.20.30.0/24 and 10.20.40.0/24 UDP 47808 Reads, writes, subscriptions from the workstation
10.20.30.0/24 and 10.20.40.0/24 10.20.5.50 UDP 47808 Answers, COV and alarm notifications back to the workstation
10.20.30.10 10.20.40.2 UDP 47808, both ways BBMD to BBMD broadcast forwarding
10.20.5.50 10.20.30.10 UDP 47808, both ways Foreign device registration and broadcasts, if the workstation has no BBMD on VLAN 105

Then on the workstation itself: one inbound rule for UDP 47808, and the network profile set to Private or Domain.

Stateful firewalls track UDP "sessions" with a short timeout. That covers request and reply, but COV and event notifications can arrive minutes after the subscription, so the return direction needs a real rule. Directed broadcast forwarding on the routers is not needed if the BBMDs use two-hop entries (mask 255.255.255.255).

Should BACnet/IP port 47808 ever be open to the internet?

No. BACnet/IP has no authentication or encryption, so anyone who reaches UDP 47808 can read and often write the points. Internet scanning services list exposed BACnet devices. Use a VPN into the site, or BACnet/SC (TLS with certificates on both sides). A non-standard port only hides a device from a casual scan.

Common mistakes with port 47808

  • Testing with Test-NetConnection or telnet. Both test TCP. A "failed" result proves nothing about UDP 47808, and neither does a successful ping. Test with a BACnet tool or watch the traffic in Wireshark.
  • Changing a controller's port without changing the network number. A device moved to 47809 is on another BACnet network; if it keeps the old network number, routers and workstations get conflicting information.
  • VPN with split tunnelling. The VPN may route the site's subnet but not its broadcasts. Use a BBMD foreign device registration over the VPN, as in Step 2.
  • Opening TCP instead of UDP, or Wi-Fi and Ethernet both active so the tool broadcasts on the office Wi-Fi.

If a BACnet router's IP side is blocked, the MS/TP devices behind it disappear too. For the serial side, see our MS/TP troubleshooting guide, and for discovery in general, how Who-Is and I-Am work.

Practise before going on site

Run BacLens Sim with an extra BACnet/IP port (47809, for example) to reproduce these cases on one PC, then download BacLens to run the connection test and the analyzer on your own site. Both are free.

FAQ

What port does BACnet/IP use?

BACnet/IP uses UDP port 47808 by default, written 0xBAC0 in hexadecimal. The same port carries unicast messages such as ReadProperty and broadcasts such as Who-Is. Devices must also allow the port to be changed, and a site may use another port for a second BACnet/IP network.

Is BACnet port 47808 TCP or UDP?

It is UDP. BACnet/IP sends each message as one UDP datagram, with no TCP connection, so a TCP 47808 rule has no effect. BACnet/SC is the exception: it uses TLS over TCP, on the hub's port.

Can BACnet/IP use a port other than 47808?

Yes. BACnet/IP devices must support a configurable UDP port, with at least 47808 to 47823 and 49152 to 65535. Devices on a different port form a separate BACnet network, even on the same IP subnet.

How do I open port 47808 in Windows Firewall?

An administrator adds an inbound rule for UDP 47808, for example with New-NetFirewallRule -DisplayName "BACnet UDP 47808" -Direction Inbound -Protocol UDP -LocalPort 47808 -Action Allow. Also check that the site network is classed as Private or Domain, not Public. On managed laptops, ask IT to push the rule by group policy.

Why can I ping the controller but not discover it in BACnet?

Ping uses ICMP, so it proves only that the IP path exists. Discovery needs UDP 47808 both ways and broadcasts that reach the controller's subnet. Another VLAN without a BBMD, or a firewall on UDP 47808, lets ping work while discovery shows nothing.

Do BACnet broadcasts cross VLANs?

No. Each VLAN is its own broadcast domain, and routers between VLANs drop broadcasts. To discover devices on another VLAN, put a BBMD on each subnet with matching broadcast distribution tables, or register your PC as a foreign device with a BBMD you can reach.

Why does my BACnet tool say the port is already in use?

Another program on the PC holds UDP 47808: a BMS workstation, another BACnet explorer or a simulator. Find it with Get-NetUDPEndpoint -LocalPort 47808 or netstat -ano -p udp, then close it.

Is it safe to expose BACnet port 47808 to the internet?

No. BACnet/IP has no authentication or encryption, so anyone who reaches the port can read and often change points. Use a VPN or BACnet/SC for remote access.