Pages

Monday, August 24, 2020

IPv4 vs IPv6 loopback address

In this post, we shall see how to connect to Tally ERP.

Connect to Tally using a Browser
You can connect to Tally ERP 9 using any browser [Chrome, Firefox etc]

In the browser Address-bar, type the following :
http://127.0.0.1:9000           [for IPv4 connectivity]
or
http://[::1]:9000               [for IPv6 connectivity]
or
http://localhost:9000           [Resolves to IPv4 or IPv6]

On Success, you will be able to see this message in the browser :
<RESPONSE>Tally.ERP 9 Server is Running</RESPONSE>

Connect to Tally using udiMagic

In the udiMagic Settings screen (or udimagic.ini file), specify the Tally IPAddress and Port Number.

Case 1 : IPv4 Address in udimagic.ini

[Tally]
ServerAddress=127.0.0.1
ServerPort=9000


or

Case 2 : IPv6 Address in udimagic.ini

[Tally]
ServerAddress=[::1]
ServerPort=9000


or

Case 3 : Localhost name in udimagic.ini

[Tally]
ServerAddress=localhost
ServerPort=9000

After savings the udiMagic Settings (udimagic.ini file), click the "Test Tally Connection" icon or restart udiMagic Software to automatically connect to Tally ERP 9 / Tally Prime.

Remarks:
If you are using IPv6 loopback address, then you must use square brackets as shown above.

For Advanced Users
You can use netstat to check the Tally Port Number.

a. Start Windows PowerShell in admin mode
b. Type the following:
netstat -aon | Select-String -pattern ":9000"

Add the required Address (if missing)
netsh http add iplisten 127.0.0.1


No comments: