Networking

How to Find Your Game Server's IP and Port

what is my server IPserver addressconnect IP
4 min read Updated 12 June 2026 ESAGAMES Team

To let friends join, they need your server's IP address and port. Where you find them depends on whether the server is hosted or running on your own PC.

On a hosted server

Your host shows the server's IP and port in the control panel and the welcome email — usually as ip:port (e.g. 217.156.22.2:27015). That full address is exactly what you share. Done.

On a server you run at home

There are two different IPs, and that trips people up:

  • Local IP (like 192.168.1.50) — only works for people on your own network/LAN.
  • Public IP — what people on the internet use. Find it by searching "what is my IP" or:
# show your public IP from the server
curl ifconfig.me
Careful sharing a home IP

Your public IP is your home connection's IP. Sharing it widely exposes you to DDoS. Only share it with people you trust — or host the server so it has its own protected IP.

Finding the port

The port is set in the server's config (or your start command). Defaults: Minecraft 25565, Source/CS2 27015, Rust 28015, FiveM 30120. If you changed it, share that number after a colon.

Test it actually works

Don't make friends be your test. Check the address from outside your network with our server status checker — if it shows online, your ip:port is correct and reachable.

Hosted server: copy ip:port from the panel. Home server: share your public IP (carefully) plus the port — and test it from outside first.

A clean ip:port, protected

Every ESAGAMES server comes with its own protected IP and port — share it freely, attacks are filtered for you.

See game hosting
FAQ

Frequently asked questions

What's the difference between my local and public IP?

Your local IP (192.168.x.x) only works inside your home network. Your public IP is what the rest of the internet sees and is the one friends outside your network must use to connect.

How do I find what port my server uses?

It's in the server's config file or start command. If you never changed it, it's the game's default (Minecraft 25565, CS2 27015, Rust 28015, FiveM 30120).

Is it safe to share my server's IP?

For a hosted server with DDoS protection, yes. For a home server, your public IP is also your home connection — share it only with people you trust, since it can be targeted.

Knowledge base

Related articles

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.

Payments Secure checkout with cards, banking apps and digital wallets.

Choose the payment flow that fits your stack and region without leaving the platform.

Pay by Zen Visa Mastercard Paysafecard PaysafeCash Skrill Trustly Bancontact UnionPay iDeal WebMoney