Home > Software engineering >  (pyngrok)how to use more than one clients in python script
(pyngrok)how to use more than one clients in python script

Time:02-10

i am a newbie in python so please give me your knowledge. i have 2 different ngrok accounts. of course i have 2 different auth tokens attached. i want in ON python script to use both of my accounts and have 2 tunnels on each account.

unfortunately whatever i do , the script "sees" only one session and doesnt let me use more than 2 tunnels (i am in the free version, 2 tunnels-1 session).

i can write the tunnels in 2 different config files but still i dont know how to make my script read both of them.

can you please help me? i need something very very simple.

i want to "login" on my first account 2 tunnels (http,80,192.168.1.2 ) and (http,80,192.168.1.3)

and after this i want to "login" with my second ngrok account and create 2 more tunnels (http,80, 192.168.1.4) and (http,80,192.168.1.5)

i am fighting with this a whole week and i can only use one client session.

thank you in advance

CodePudding user response:

  •  Tags:  
  • Related