BioStar 2 uses several ports to establish device and data communication.
This information is crucial if you are installing the devices on remote networks with WAN or VPN.
If you need more information regarding connection modes please refer to Connection Modes in BioStar 2
The server port of BioStar 2 is 51212 by default, but it can be configured to another port in Setting > Server.
If you're not sure how to search port usage on a Windows PC, refer to the following article:
[BioStar 2] Checking Port Use with a Script
Used Port List
*process name shown in task manager is in blue
Database
T&A: 3000(http), 3002(https) (node.exe)
Video: 3010(http), 3012(https), 6379(redis-server.exe)
File Sharing: 445(WebDAV is used when the file is uploaded from server to client)
**From BioStar 2.6, 445 port is not used anymore.
Nginx (web server): 9000
Websock: 9002 (biostar-server.exe)
webserver_thrift_port: 9310 (java.exe)
BioStar 2 Server
Web server : HTTP 80 (default) & HTTPS 443 (default)
(nginx.exe)
Cloud:
(Local) API server:
USB Agent: HTTPS 8081 (default), HTTP 8082 (default) (usb-agent.exe *32)
UDP (device search): 51210
Device Port: 51211 (default)
With server to device mode, the device connection is initiated from the BioStar Client and the client makes a connection to the server. This is why you cannot see the device from another client when it’s already connected to particular client. In this case, the port number is like the below.
If you are installing devices in a remote network, it is recommended that you use device to server, so that the device will automatically connect to the server if it loses connection.
Refer to the images below to see what ports should be open and forwarded as necessary in your firewall and router.
The server HTTP port or HTTPS port which is used to communicate with the client can be changed in BioStar Setting.
BioStar Setting is included in the installation of BioStar. You can search for the application in the start menu.
You will have to stop the services to change the port.
The server port can be changed in Setting > Server in BioStar 2’s menu.
You can change the device port in the device menu after selecting the device. It is found in the network tab.
Below is a screenshot of BioStation 2’s device manual.
For device with LCDs, you can set it on the device as well.