Skip to content
← Back to Community
How to get ip address of minecraft server
Profile icon
AmanKhan1234

image

I somehow spun up the latest minecraft server on repl.it, how do I get the ip address to join?

Please help, trying for a few hours now

Voters
Profile icon
AmanKhan1234
Comments
hotnewtop
Profile icon
HaphyScream

If you're trying to get ip on Java Edition Server.. First run this on shell
wget -O ngrok.gz https://bin.equinox.io/a/6sdfF9NmmRW/ngrok-2.3.40-linux-amd64.tar.gz then make Ngrok account and get your Token. To get the ip run this ./ngrok authtoken "Your Token" and ngrok tcp 25565. Done :)

Profile icon
HaphyScream

@HaphyScream Open the Gz file by Use this Code tar zxvf filename.gz

Profile icon
[deleted]

@HaphyScream it dont work for me help

Profile icon
HaphyScream

@AydenFilipasic Watch this Video > How to use Ngrok
Or make a new Nix Repl and create ip.sh then copy this Code

echo "Add this to your replit.nix { pkgs }: { deps = [ pkgs.wget pkgs.jdk pkgs.unzip ]; }" echo "Downloading Ngrok" wget -O ngrok.tgz https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.tgz tar zxvf ngrok.tgz clear chmod +x ngrok echo "Please Put your Ngrok Token :" read token ./ngrok authtoken $token ./ngrok tcp 25565

Add this to your replit.nix

{ pkgs }: { deps = [ pkgs.wget pkgs.jdk pkgs.unzip ]; }

Execute the file by using this command bash ip.sh

Profile icon
HaphyScream

@AydenFilipasic You will see this text appear when U execute bash ip.sh

Please Put your Ngrok Token :
Don't worry.. just put your Ngrok Authtoken and Ur server will be Public! I hope this help you :)

Profile icon
HaphyScream

@AydenFilipasic And This is the IP for Minecraft 8.tcp.ngrok.io:18175 or it will show tcp://8.tcp.ngrok.io:18175