Many legacy business applications—especially those built on VB6, Crystal Reports, and SQL Server—integrate with Tally Prime for accounting automation. A common issue faced during this integration is:
“Tally is not running. Error no: 10061”
Even when Tally is open and functioning correctly, exports fail. This article provides a deep technical explanation of the issue, its root causes, and practical solutions.
Error 10061 = Connection Refused
This is a network-level socket error, meaning:
Understanding the integration flow is critical:
Tick Software → Crystal Reports → SQL Server (ODBC)
↓
Tally (HTTP/XML API)? These are two completely separate communication layers
Tally exposes an API via:
| Setting | Value |
|---|---|
| Port | 9000 |
| HTTP Server | Enabled |
| ODBC Server | Enabled |
In most cases:
Tick software still tries:
http://localhost:9000Result:
Error 10061 (Connection Refused)In Tally:
F1 → Settings → Advanced ConfigurationRestart Tally after changes.
Open browser:
http://localhost:9000Look for:
.ini or .config filesUpdate:
localhost:9000 → localhost:9049Many older systems (VB6-based) have:
Hardcoded:
http://localhost:9000? No option to change port
Set Tally back to:
Port = 9000✔ No code changes
✔ Works instantly
✔ Most stable
If supported:
If Tick cannot be modified:
Run Command Prompt as Administrator:
netsh interface portproxy add v4tov4 listenport=9000 listenaddress=127.0.0.1 connectport=9049 connectaddress=127.0.0.1| Request | Action |
| Tick → 9000 | Redirected |
| Windows → 9049 | Sent to Tally |
Allow port in Windows Firewall:
9000 or 9049❌ Trying to set Tally port in SQL Server
❌ Modifying ODBC DSN for Tally connection
❌ Assuming Tally uses database connection
❌ Ignoring HTTP server settings
✔ Always use default port 9000 unless required
✔ Document integration architecture
✔ Avoid changing ports in production
✔ Use consistent environment across servers
✔ Monitor firewall and antivirus rules
In most deployments:
The Error 10061 in Tally export scenarios is primarily a port mismatch issue, not a failure of Tally itself.
? Always align Tick and Tally ports
? Prefer keeping Tally on port 9000
This ensures seamless communication and avoids unnecessary complexity in legacy systems.
#tally #tallyprime #tallyerp #odbc #sqlserver #crystalreports #vb6 #accountingsoftware #erp #softwareintegration #api #xml #http #networkerror #windowsserver #firewall #portforwarding #netsh #database #export #import #troubleshooting #itservices #techsupport #enterprise #automation #businesssoftware #integration #server #networking #connectionerror #socketerror #port9000 #tallyerror #dataintegration #legacysoftware #vb6apps #crystalreporting #sqlintegration #tallyapi #xmlapi #softwareerror #debugging #itadmin #sysadmin #windows #serverissue #technicalguide #howto #solution