Tally Port 9000 Setup Guide | Complete Step-by-Step 2026
Tally Port 9000 Setup Guide | Complete Step-by-Step 2026
Learn how to configure Tally Port 9000 for automation, third-party integrations, and local database sync. Complete troubleshooting guide.
Who is this for: Tally Automation
TallyPrime includes a built-in ODBC (Open Database Connectivity) server that enables external systems, database drivers, and local automation connectors to read and write financial records. By default, this ODBC gateway runs on Port 9000. Setting this port up correctly is necessary for synchronizing automated client vouchers or ledger lists. Let's walk through enabling the port, verifying connections, and bypassing Windows Firewall blockers.
Quick Answer: How to Enable Tally Port 9000 for Automation (2026)?
TrulyInvoice uses Port 9000 to post F9 purchase vouchers directly into Tally Prime. To enable Port 9000: Open Tally Prime > Go to F1: Help > Settings > Connectivity (or Startup) > Set 'Enable ODBC/HTTP server' to Yes > Set Port to 9000 > Press Ctrl+A to save and restart Tally Prime.
- Port 9000 is Tally's default local port for HTTP XML and ODBC communication.
- Connection works on localhost (127.0.0.1) without opening your database to the internet.
- TrulyInvoice local connector client communicates with Tally Prime over Port 9000.
- If Port 9000 is blocked, verify Windows Firewall inbound rules for TallyPrime.exe.
How to Enable ODBC Server in TallyPrime
Follow these steps to activate the local ODBC listening gateway in TallyPrime:
Navigate to Startup Settings
Launch TallyPrime. Press F1 (Help) from the top menu, then choose Settings > Startup.
Modify Connectivity Settings
Scroll down to the TallyPrime acts as configuration. Set this option to Both (or Server). Toggle the Enable ODBC server field to Yes.
Define Port Number
Assign the Port value to 9000 (Tally's standard default port). Press Enter to accept and then restart TallyPrime for changes to take effect.
Verifying if Port 9000 is Open (Command Prompt)
To verify that TallyPrime is actively listening on Port 9000 in the background, you can use a quick Command Prompt tool:
# Run this command in Windows cmd:
netstat -ano | findstr 9000
# If Tally is listening, you will see output like:
TCP 127.0.0.1:9000 0.0.0.0:0 LISTENING 4312
The output confirms that TallyPrime (PID 4312) is listening on local interface 127.0.0.1 on Port 9000. If no output is displayed, TallyPrime is either not running or the ODBC setting has not been enabled.
Troubleshooting Connection Issues
If your local TrulyInvoice connector client displays a "Connection Offline" or "Tally Connection Failed" status despite configuring Port 9000, inspect these settings:
- Port Collision: Another service might be using Port 9000. Run the `netstat` command above when Tally is closed. If Port 9000 is still active, change Tally's port to 9005 in startup settings, and update your connector configuration.
- Windows Defender Firewall: Windows Firewall sometimes blocks local port binding. Go to Control Panel > Windows Defender Firewall > Advanced Settings and add an **Inbound Rule** to allow TCP Port 9000.
- Active Company Guard: The ODBC server only responds when there is at least one active company loaded in TallyPrime. Ensure you have loaded your company before launching the connector.
Conclusion
Setting up Port 9000 enables automation for your TallyPrime database. By following this guide and configuring Windows Defender Firewall correctly, TrulyInvoice can securely post purchase, sales, and banking vouchers directly to your local accounts ledger.
Chartered Accountant & Accounting Automation Specialist