To view or change the Tally Port Number, follow the underneath steps :

1) In the "Gateway of Tally"  (i.e. main screen), press the "F12" key [Configure]

step1.PNG



2) Next, select option "Advanced Configuration"

step2.PNG


3) Next, set the following values :

Tally is acting as : Both
Enable ODBC Server : Yes
Port : 9000

step3.PNG



4) Press "Ctrl+A" to save the settings. After this Tally ERP 9 will restart.  

In the Gateway of Tally [main screen],  the Configuration box must display :
ODBC Server  : 9000

 F12.PNG



Depending upon the version of Tally you are using, the text displayed may be different like :
Client /Server with ODBC on Port 9000

In case, if the Port 9000 is not displayed in the Tally screen (as shown above), follow the same steps and set the Port to a different number between 9000 to 9900.

In case, if still the Port number is not displayed in Tally screen, please contact your local Tally vendor / consultant or Tally Solutions, Bangalore to resolve the Port Number issue.


What is Port 9000 ?
You may wonder, what is Port Number. Well, just as you give your mobile number to others so that they can contact you, similarly to programmatically communicate with Tally, a Port Number (memory area) is required.

The default Port is 9000 which can be changed either using the option “Gateway of Tally > F12 > Advanced Configuration” or you can set it directly in the Tally.ini file using ServerPort=9000 option (for older Tally versions).

Communicating with Tally
By default, the udi-Magic / other external tools, use the the default Tally Port 9000 to communicate with Tally Software. In case, if you have set / changed the Port Number (i.e. different than 9000) in Tally using the steps as given above, you must change the Port Number in the udi-Magic / external application also. 

In udi-Magic, you can change the Tally Port Number using the "Settings" button (in the second screen).