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