Connect to Tally User wise

Discussion in 'Tally Integration' started by Researcher, Apr 30, 2021.

    
  1. Researcher

    Researcher New Member


    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?
     


  2. Sridharan S

    Sridharan S Member


    Tally Server Edition has a true multi threaded server capability
     


  3. Sai Vineeth

    Sai Vineeth Active Member


    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
     


  4. Sridharan S

    Sridharan S Member


    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.
     


  5. AMIT JALAN

    AMIT JALAN Member


    Best option is assign different PORT to each user and connect to that port which correspond to that particular user
     


  6. Sridharan S

    Sridharan S Member


    Use of RemoteID can differentiate users. But Tally listening to multiple ports - NO.
     


Share This Page