Page 1 of 1
Using ngrok for hosting 30/06/2022 at 18:52 #147058 | |
Ronkeager
9 posts |
Has anyone tried using ngrok for setting up a server? I tried to do this with a friend since I have no external IP adress. The program is not really user friendly and I have no idea what I am doing. We are trying to chain two simulations.
Log in to reply |
Using ngrok for hosting 30/06/2022 at 19:46 #147061 | |
Sacro
1171 posts |
I think it should work, what have you tried?
Log in to reply |
Using ngrok for hosting 30/06/2022 at 21:56 #147067 | |
Albert
1315 posts |
You should be able to use a TCP tunnel for this: https://ngrok.com/docs/secure-tunnels#tcp-tunnels HTTP or TLS tunnels won't work. AJP in games Log in to reply |
Using ngrok for hosting 01/07/2022 at 06:05 #147068 | |
Ronkeager
9 posts |
I didn't really know what i was doing so I wrote in "ngrok tcp 50505" which I thought would forward all traffic from a ngrok domain to "localhost:50505" which was me. My friend tried to insert this domain when chaining but he got disconnected instantly.
Log in to reply |
Using ngrok for hosting 01/07/2022 at 07:57 #147069 | |
Albert
1315 posts |
After you run this command, ngrok should give you a domain and a port number, separated by a colon character. Did you put the part before the : in the IP field and the part after it in the port field? The port that your friend should use is not 50505, but the one given by ngrok.
AJP in games Log in to reply |
Using ngrok for hosting 01/07/2022 at 09:19 #147071 | |
Ronkeager
9 posts |
Yep, we tried that to no avail. Post has attachments. Log in to view them. Last edited: 01/07/2022 at 09:21 by Ronkeager Reason: None given Log in to reply |
Using ngrok for hosting 01/07/2022 at 09:38 #147072 | |
Albert
1315 posts |
Remove the tcp:// part, SimSig only needs a domain name, it doesn't let you choose a protocol.
AJP in games Log in to reply |
Using ngrok for hosting 01/07/2022 at 10:16 #147074 | |
Ronkeager
9 posts |
Thank you so much for the help! It worked now!
Log in to reply |