Configure Windows Firewall
Windows Firewall is an integrated component of the operating system that helps you control the connections on your computers.
In order to allow your smartphone to communicate with Barcode to PC server software, follow these steps:
Step 1 – Open Windows Firewall exceptions list
- Open the Start menu
You can do that by pressing the Windows key on your keyboard, or if your keyboard doesn’t have a Windows key, press the Control (Ctrl) and Escape (Esc) keys at the same time.
- Type
firewall.cpl
- Click firewall.cpl, and the Windows Firewall window should open like this:
- Click “Allow an app or feature through Windows Firewall”. If you’re using Windows 7 click “Allow a program or feature through Windows Firewall”. instead.
- Click “Change settings”.
Step 2 – Add Barcode to PC server and Bonjour
Enable the Private & Public options for both:
- Barcode to PC server
- Bonjour
Like this:
At this point save the settings by clicking the OK button.
If the items aren’t listed:
- Click “Allow another app”. (On Windows 7: Click “Allow another program”.)
- If Barcode to PC server isn’t listed: click Browse and then select
barcode-to-pc-server.exe
, which is inC:\Program Files\barcode-to-pc-server\
. - If Bonjour isn’t listed: click Browse and then select
mDNSResponder
, which is inC:\Program Files\Bonjour\
. - After selecting one of the programs, click Open.
- Click Add in the Add an app window. (On Windows 7: Click Add in the Add a Program window.)
- In the Allowed apps window, click OK. (On Windows 7: In the Allowed Programs window, click OK).
- Go back to the step 2 of the previus section
Conclusion
At this point, everything is good to go and you should be able to connect the smartphone to your computer.
If it still doesn’t work, you may need to allow Barcode to PC server inside other antivirus software installed on your computer.
Additionally, if you’re using 2.4 GHz and 5 GHz Wi-Fi you may need to allow communication between the two networks on the router page (usually http://192.168.1.1), or just use one of the two.
If you want to allow the communication from external networks forward the 57891 TCP port.