The mobile application does not connect to the database - port 6001
The Torgsoft mobile app connects to the database through the Application Server via TCP port 6001. If the app “cannot see” the database, the connection is being blocked at the service, firewall, or network level.
When you need to check port 6001
-
First launch of the mobile app.
-
Connection from mobile internet or from another network.
-
After updating Windows, the antivirus, or Torgsoft.
-
After replacing the router or changing the server IP address.
Signs of the problem
-
Message “Failed to connect to the server”.
-
Endless loading during login.
-
Errors Connection timed out, Host not found.
-
Works over Wi-Fi, but does not work over mobile internet.
Possible causes
-
Port 6001 is blocked by Windows Firewall or the antivirus.
-
Port forwarding on the router is missing or configured incorrectly.
-
The Torgsoft Application Server service is not running.
-
Incorrect parameters in the AdminServer.ini file.
-
Incorrect IP address or access restrictions on the smartphone, especially on iOS.
What to do
A. Check the firewall and antivirus
When to check: the app does not connect even within the local network.
-
Open Windows Defender Firewall → Advanced settings.
-
Create a rule:
-
Type: Port
-
Protocol: TCP
-
Port: 6001
-
Action: Allow
-
Create a rule:
-
Type: Port
-
Protocol: UDP
-
Port: 6001
-
Action: Allow
-
Create separate inbound and outbound rules.
-
Check the quarantine in the antivirus.
-
Add the Torgsoft folder to the antivirus Exclusions.
What happens if you do not do this: the port will remain blocked and the server will not accept connections.
B. Check the Application Server service
When to check: the port is open, but there is no connection.
-
Press Win + R → services.msc.
-
Find the TorgSoftService service.
-
Its status must be Running.
-
If the service is stopped, start it.
-
If it does not start, reinstall the Application Server through the Torgsoft settings.
C. Check the router, access via the internet
When to check: it works in the local network, but not over mobile internet.
-
Open the router web interface.
-
Enable Port Forwarding / Virtual Server:
-
External port: 6001
-
Internal port: 6001
-
IP: server internal address, for example 192.168.0.100
-
Reserve the server IP by MAC address, DHCP Reservation.
-
Make sure that you have a static external IP address from the provider.
D. Check the AdminServer.ini file
When to check: the service is running, but the connection is unstable or works through VPN.
-
Open the AdminServer.ini file in the Torgsoft folder.
-
Check:
-
Port=6001
-
Host=…
-
If VPN is used, such as Radmin VPN, specify:
-
Host=127.0.0.1
E. Check the settings on the smartphone
-
Make sure that the correct IP address is specified:
-
Wi-Fi: the server internal IP.
-
Internet: the external static IP.
-
For iOS:
-
Settings → Torgsoft → enable Local Network.
How to check the result
-
The mobile app logs in without errors.
-
Data loads without timeouts.
-
Entries about the client connection appear in the server logs.
How to avoid this
-
Use a static IP address for the server.
-
Set the service startup type to Automatic.
-
After Windows updates, check the firewall rules.
-
Do not change the server local IP without updating the router settings.
If port 6001 is open, the server service is running, and the IP address is specified correctly, the mobile app connects. The error always means blocking at one of the stages: PC → service → router → smartphone.
-
16.03.2026
Duplicate barcodes and names: how to find, merge and fix them so as not to break the accounting
How to find, merge and fix duplicate products in Torgsoft to avoid errors in balances, reporting and inventory
-
27.02.2026
Directory errors: causes of failures and financial losses
Errors in Torgsoft directories: barcode in quantity, zero cost, duplicates, fiscal failures and database slowdowns
-
03.02.2026
Password recovery for "Owner" or sa user
Guide to restoring Torgsoft access (sa user). Reset password via SQL Management Studio, osql command line, or contact technical support for assistance.









Go back to the previous step