...

Welcome to our Support Center

If you have any questions, issues or suggestions, feel free to contact us:

Email: support@flyingbee.com
Skype: flyingbee.software
Telephone: +18303920398

feihone support center map background

How to open TCP/UDP ports on a WiFi Router for Bonjour(mDNS), AirPlay or AirPrint service

james wei 2024-12-09 16:56:49
Sometimes, AirPrint might not play nice with your Windows shared printer because of firewall rules. If that’s the case, you might need to let UDP port 5353 through your firewall. This is usually done by tweaking your firewall settings to allow traffic for UDP port 5353. Check your firewall’s help guide for how to do this.



Some users may need to print through routers or firewalls, in which case they need to access the print server through these devices - the Bonjour/AirPrint port number used for TCP/IP (UDP) connections.
https://developer.apple.com/bonjour/

How to open TCP ports 5354, UDP port 5353, and TCP port 631 in the firewall on a router for Bonjour(mDNS)/AirPlay/AirPrint, you need to follow these steps:

1. Access the Router's Management Interface

First, you need to access the router's management interface. This is typically done by entering the router's IP address in a web browser. The IP address may vary depending on the brand and model of the router, but common default addresses include 192.168.0.1, 192.168.1.1, or 10.0.0.1. If you're unsure of the router's IP address, you can try these common addresses or check the "Default Gateway" next to your network connection in the Command Prompt (opened by pressing Windows key + R, typing cmd, and pressing Enter).

2. Log in to the Router

After entering the router's IP address in the browser's address bar and pressing Enter, you may be prompted to enter a username and password to log in. These credentials are usually found in the router's user manual or on a label attached to the router. If you've changed the password and forgotten it, you may need to reset the router to its factory settings to restore the default password.

3. Locate Port Forwarding Settings

Once logged in, you need to find the Port Forwarding or Virtual Servers settings. These are typically located under menus such as "Advanced Settings," "Network Settings," or "Security Settings."

4. Add Port Forwarding Rules

In the Port Forwarding settings page, you need to add a rule for each port you want to open. Here are the steps to add a rule:

  • Service Name or Description: Enter a name or description for your rule, such as "TCP 5354," "UDP 5353," and "TCP 631."
  • Protocol Type: Select TCP or UDP, depending on the type of port you want to open.
  • External Port: Enter the port number you want to open (5354, 5353, or 631).
  • Internal IP Address: Enter the IP address of the Windows computer on which you want to open the port. This can usually be found in the "Network and Sharing Center" or "Adapter Settings" on your Windows computer.
  • Internal Port: Usually the same as the External Port (5354, 5353, or 631), unless you have specific requirements.

5. Save and Apply Settings

After setting up the rules, don't forget to save your changes and apply the settings for them to take effect. On some routers, you may need to click a "Save" or "Apply" button to confirm the changes.

6. Verify Port Opening

To verify that the ports have been successfully opened, you can use an online port checker tool or the netstat command in the Command Prompt to check the status of the ports. In the Command Prompt on your Windows computer, type netstat -an | find "port number" (e.g., netstat -an | find "5354") to see if the port is listening.

Notes

  • Security: Opening ports can increase network security risks. Make sure you understand why you need to open these ports and only open them to trusted networks and devices.
  • IP Address Changes: If your Windows computer's IP address is dynamically assigned (e.g., via DHCP), you will need to update the port forwarding rules in the router whenever the IP address changes.
  • Router Brand and Model: Different brands and models of routers may have different user interfaces and configuration options. If you can't find the Port Forwarding settings, consult the router's user manual or online support documentation.

By following these steps, you should be able to successfully open TCP ports 5354, UDP port 5353, and TCP port 631 in the firewall through a router.

---
What is Bonjour on my Computer? Windows 10 Bonjour Program PC Guide
https://www.freecodecamp.org/news/what-is-bonjour-on-my-computer/

Apple, the Apple logos, MacBook, iPad, iPhone, Apple Watch, and Apple Vision Pro are trademarks of Apple Inc., registered in the U.S. and other countries. App Store and Mac App Store is a service mark of Apple Inc., registered in the U.S. and other countries.
© 2014- 2024 Flyingbee Software, All Right Reserved.
United StatesUnited States

We uses cookies to give you the best experience, analyze traffic, and personalize content. By continuing using our Site, you agree to our use of cookies. The information collected might relate to you, your preferences, or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Read our Privacy Policy or manage your cookie preferences. If you would like to submit an opt-out request with respect to your non-cookie personal information (e.g., your email address), find our support email address to opt-out of sale/sharing/targeting with respect to non-cookie personal information.