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:
Used Port List
*process name shown in task manager is in blue
- Maria DB: 3312 (mysqld.exe)
- ORACLE: 1521
- MSSQL: 1433
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
- 51212 (default) (biostar-server.exe)
- 51213 (if TLS is used)
Web server : HTTP 80 (default) & HTTPS 443 (default)
- 52000 (default) (nginx.exe *32)
- V1 8790(app), 8781(doc)
- V2 8795(app), 8786(doc)
- 4443 (ngrok.exe *32)
- URL: cloud.biostar2.com, api.biostar2.com
(Local) API server:
- 27017 (default)
USB Agent: HTTPS 8081 (default), HTTP 8082 (default) (usb-agent.exe *32)
UDP (device search): 51210
Device Port: 51211 (default)
Server to Device
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.
Server to Device Mode
Device to Server Mode
Changing the Web Server Port
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.
Changing the Server Port
The server port can be changed in Setting > Server in BioStar 2’s menu.
Changing the Device Port
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.