Ask coding questions

← Back to all posts
How to get an IP from my Terraria server.
h
BenFord

So I managed to get a Terraria server up and running in one of my repls. I was wondering how I'd get the ip for the server?

Voters
BenFord
Comments
hotnewtop
wolfbiscoito

How do you can make a server?

Coder100

I think you are better off doing this locally, but maybe try:
https://terraria-hoes.benford.repl.co:8080/

gibbsfreenergy

Hi!
It seems that your IP Address is 172.18.0.35.
When you run the code look in the user box!
Hope this helped and have a great day! :)

gibbsfreenergy

user box = output

BenFord

@JosephSanthosh see i figured that was my ip but also when I tried to connect through the port 7777 it wasn’t successful. I considered using the port 80 but wont that conflict with http?

gibbsfreenergy

@BenFord For repl.it the port is 8080!

gibbsfreenergy

@BenFord It shouldn't conflict I think.

BenFord

@JosephSanthosh hmm but when i tried port 8080 before it says found server but doesn’t connect which makes me think that it’s trying to connect to the https protocol

CodeLongAndPros

ip addr show, I think. There’s some output to parse though.