Bison Infosolutions Knowledgebase
Protect your Lenovo Server
Contact WhatsApp

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 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 = 9049

Advantages:

  • 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:

InstancePortUsage
Tally 19049App 1
Tally 29050App 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) β†’ Tally

How 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

IssuePossible CauseFix
Connection failedWrong portVerify ODBC port
Timeout errorTally not runningOpen company
Partial dataQuery issueValidate SQL
Random failuresMultiple apps overloadUse 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


tally odbc tally odbc port tallyprime odbc configuration tally server mode tally client mode odbc tally integration tally sql integration tally crystal reports odbc tally tick software integration tally data export odbc tally data import odbc t