Ask coding questions

← Back to all posts
Connect to TCP ports over repl.it
h
widgetmaster (8)

I have a minecraft server running on port 25565, and I want to connect the client to it, but it doesn't recognize... any way to let repl.it know it should be TCP?

Comments
hotnewtop
Tonialg (6)

Install ngrok in ur project

say in console
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
unzip ngrok-stable-linux-amd64.zip

rm ngrok-stable-linux-amd64.zip
...
start ngrok and server
java -Xmx0.5G -Xms0.5G -jar server.jar nogui & python ../main.py & ../ngrok tcp 25565 -authtoken="$ngrok_token" -region eu

Highwayman (1483)

You cannot connect to TCP port