Can Tally Use Multiple ODBC Ports? Server vs Client Mode Explained with Practical Workarounds
In modern accounting integrations, many businesses rely on third-party applications such as CRM systems, reporting tools, and database-driven software to int...
In modern accounting integrations, many businesses rely on third-party applications such as CRM systems, reporting tools, and database-driven software to interact with TallyPrime using ODBC (Open Database Connectivity).
A common technical question arises:
Can Tally run multiple ODBC ports simultaneously — one for server mode and another for client mode?
This article provides a clear, technical explanation, along with real-world solutions for handling multiple integrations safely and efficiently.
Understanding ODBC in Tally
Tally supports ODBC in two modes:
1. ODBC Server Mode
- Tally acts as a data provider
- External applications (e.g., SQL Server, Crystal Reports, Tick Software) fetch data
- Example:
- Fetch ledger, vouchers, stock data
2. ODBC Client Mode
- Tally acts as a data consumer
- It pulls data from external databases
- Example:
- Import vouchers from SQL tables
Core Limitation: Single ODBC Port
Tally uses only ONE ODBC port at a time.
Default Behavior:
- Default port: 9000
- Custom port: e.g., 9049
- Configurable via:
F1 → Settings → Advanced Configuration → ODBC Port
Important:
- The same port is used for:
- Server mode
- Client mode
What is NOT Possible
You cannot:
- Run two different ODBC ports simultaneously in one Tally instance
- Assign:
- Port 9049 → Server Mode
- Port 9050 → Client Mode
- Start multiple ODBC listeners inside a single Tally process
Real-World Problem Scenario
You may have:
- Application 1 (e.g., Tick Software) → Needs ODBC access
- Application 2 (e.g., Custom SQL Integration) → Also needs ODBC
Both require parallel connectivity to Tally.
Practical Solutions
✅ Solution 1: Use a Single Shared ODBC Port (Recommended)
Configure both applications to use the same port:
ODBC Port = 9049Advantages:
- Simple setup
- No data conflict
- Fully supported by Tally
Requirements:
- Tally must remain open
- Firewall must allow the port
- Both apps must handle shared access
✅ Solution 2: Multiple Tally Instances (Advanced Setup)
Run two separate Tally instances:
| Instance | Port | Usage |
|---|---|---|
| Tally 1 | 9049 | App 1 |
| Tally 2 | 9050 | App 2 |
Steps:
- Copy Tally folder into two locations
- Launch both instances separately
- Configure different ODBC ports
Risks:
- ⚠ Data corruption (if same company is open in both)
- ⚠ License limitations
- ⚠ Performance overhead
✅ Solution 3: Middleware / Bridge Architecture (Best Practice)
Instead of connecting multiple apps directly:
Apps → Middleware (SQL/API) → TallyHow it works:
- Middleware connects to Tally via one ODBC port
- Multiple applications connect to middleware
Benefits:
- Scalable
- Stable
- Reduced load on Tally
- Better error handling
Technical Best Practices
- Always use a dedicated port (e.g., 9049 instead of default 9000)
- Ensure:
- Port is open in firewall
- No port conflicts
- Keep Tally:
- Running
- Company loaded
- Avoid simultaneous write operations from multiple sources
- Use logging in third-party apps
Troubleshooting Tips
| Issue | Possible Cause | Fix |
| Connection failed | Wrong port | Verify ODBC port |
| Timeout error | Tally not running | Open company |
| Partial data | Query issue | Validate SQL |
| Random failures | Multiple apps overload | Use middleware |
Conclusion
Tally is designed to operate with a single ODBC port, regardless of whether it is acting as a server or client. While this may seem like a limitation, practical workarounds such as shared port usage, multiple instances, or middleware architecture allow seamless integration with multiple third-party applications.
For most environments, the best approach is to use a single shared ODBC port, ensuring stability and compatibility.
#tally #tallyprime #odbc #tallyodbc #accountingsoftware #tallyintegration #sqlserver #crystalreports #ticksoftware #erp #erpintegration #dataintegration #odbcconnection #tallysupport #tallytips #tallydeveloper #tallysolutions #businesssoftware #automation #dataconnectivity #middleware #itinfra #softwareintegration #tallyerp #financeautomation #gstsoftware #indianbusiness #techguide #serverconfiguration #networking #database #sqlintegration #databridge #cloudtally #remotetally #tallycustomization #itservices #accountingtech #systemdesign #softwarearchitecture #troubleshooting #techsupport #smallbusinessit #enterpriseit #datamanagement #backendintegration #softwaretools #windowsserver #odbcdriver #tallyhelp
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.