I am tally Erp9 software in windows server 2012 r2. I am using below code to connect to tally and fetch response for particular request. Code: Dim TallyRequest As WebRequest TallyRequest = WebRequest.Create("http://localhost:9000") When multiple users connect to server computer and open the Tally software, only one tally instance opened by 1st user, listens to the requests. So my application is not able to connect to the other tally instances. How to connect the tally, opened in current user login?
It's not tally specific, Tally will run http server in specific port selected by us, If that port is occupied by tally or any other application, then new instance of tally cannot run http server on that port Ports or system specific so one port is occupied by one user also effects other user In simple you need change port for every tally instance running
A Server even when listening to a single port should be able to process multiple clients using threads. If not so it is due to policy. Clients can queue their tasks and use events to process when response comes.
Best option is assign different PORT to each user and connect to that port which correspond to that particular user