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 you can change it to another port in Setting > Server.
If you are 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 burgundy.
- Maria DB: 3312 (mysqld.exe)
- ORACLE: 1521 (Oracle support of Biostar2 is discontinued. Click here)
- 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)
** If you install a new installation of BioStar v2.7.11 on a PC not upgrading the previous version of BioStar 2, the webserver_thrift_port of new installed v2.7.11 is 9510.
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 and Device Connection
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 a particular client. In this case, the port number is like the one below.
If you are installing devices in a remote network, it is recommended that you use the device to the 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
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
You can change the server port 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 devices with LCDs, you can set it on the device as well.