---
title: "How to connect to a Minecraft server by IP | StreetHosting"
description: "Step by step guide to connecting to a Minecraft server by IP: Java and Bedrock, the right port, SRV records and common errors for beginners."
url: "https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip"
type: "page"
language: "en-US"
---

Minecraft · 2 min · Beginner

Published on Jun 5, 2026 · Updated on Aug 26, 2026

# How to connect to a Minecraft server by IP

Connecting by IP is easy once you know the right address, port and version. This guide walks through the process for Java and Bedrock without the hassle.

By [Equipe StreetHosting](https://streethosting.com.br/en/autores#equipe-streethosting) · StreetHosting infrastructure and support team

[Crossplay and Bedrock](https://streethosting.com.br/en/guides/topics/crossplay) [Deploying and running apps](https://streethosting.com.br/en/guides/topics/deploy) [Getting started](https://streethosting.com.br/en/guides/topics/getting-started)

Summarize with:

[](https://chat.openai.com/?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fconnect-to-minecraft-server-by-ip.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "ChatGPT") [](https://claude.ai/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fconnect-to-minecraft-server-by-ip.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Claude") [](https://www.google.com/search?udm=50&aep=11&q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fconnect-to-minecraft-server-by-ip.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Google AI Mode") [](https://x.com/i/grok?text=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fconnect-to-minecraft-server-by-ip.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Grok") [](https://www.perplexity.ai/search/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fconnect-to-minecraft-server-by-ip.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Perplexity")

Share:

[](https://x.com/intent/tweet?text=How%20to%20connect%20to%20a%20Minecraft%20server%20by%20IP&url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fconnect-to-minecraft-server-by-ip "Share on X") [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fconnect-to-minecraft-server-by-ip "Share on Facebook") [](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fconnect-to-minecraft-server-by-ip "Share on LinkedIn") [](https://wa.me/?text=How%20to%20connect%20to%20a%20Minecraft%20server%20by%20IP%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fconnect-to-minecraft-server-by-ip "Share on WhatsApp")

For agents: Copy as Markdown [.md](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip.md)

[Previous How to create a Minecraft server from scratch (step by step)](https://streethosting.com.br/en/guides/minecraft/how-to-create-a-minecraft-server) [Next How to invite friends to your Minecraft server](https://streethosting.com.br/en/guides/minecraft/invite-friends-to-minecraft-server)

In this guide 4 sections

* [What you need](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#o-que-voce-precisa)
* [Connecting on Java Edition](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#conectar-java-edition)
* [Connecting on Bedrock](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#conectar-bedrock)
* [Common errors](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#erros-comuns)

Quick answer

To **connect to a Minecraft server by IP**, copy the address your host gave you, check the port, open Multiplayer on Java or Servers on Bedrock, and paste the IP into the right field. The game version has to match the server's.

## What you need[](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#o-que-voce-precisa)

Before you try to join, gather three pieces of information from your hosting panel: the IP address or domain, the port and the server edition (Java or Bedrock).

* The server's public IP, not your local network IP.
* A port that is open in the host's firewall.
* The same version, or compatibility through ViaVersion or similar.

## Connecting on Java Edition[](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#conectar-java-edition)

1. Open Minecraft Java and click Multiplayer.
2. Select Add Server or Direct Connect.
3. In the Server Address field, type IP:port if needed.
4. Save and click Join Server.

If the port is 25565, the IP or domain alone is enough. For any other port, always include the colon and the number, with no spaces.

## Connecting on Bedrock[](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#conectar-bedrock)

1. Open Minecraft Bedrock and go to Play.
2. Tap Servers, then Add Server.
3. Fill in the name, address and port as shown in the panel.
4. Save and join the server.

A plain Java server does not accept Bedrock clients without a proxy such as Geyser. Confirm the server type before you share the IP with friends.

## Common errors[](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#erros-comuns)

If the connection fails, review the IP you typed, the port, the whitelist and the version. Many problems get solved in that order before you ever need to open a ticket.

* Confirm the IP in the panel, not on your home router.
* Try Direct Connect to rule out a cached saved server entry.
* Check whether the whitelist is blocking your username.
* Compare the client version with the server version.

For timeouts or refused connections, see [how to fix connection timed out](https://streethosting.com.br/en/guides/minecraft/fix-minecraft-connection-timed-out). For a version mismatch, check [outdated client/server](https://streethosting.com.br/en/guides/minecraft/fix-minecraft-outdated-client).

Before you blame the game, test the address and port on [MC Status](https://mcstatus.streethosting.com.br/?utm%5Fsource=streethosting&utm%5Fmedium=site&utm%5Fcampaign=tools&utm%5Fcontent=guia%3Acomo-conectar-servidor-minecraft-pelo-ip). It queries Java and Bedrock and shows the version the server advertises, which settles questions about a wrong IP or an incompatible version right away.

In this guide

* [What you need](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#o-que-voce-precisa)
* [Connecting on Java Edition](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#conectar-java-edition)
* [Connecting on Bedrock](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#conectar-bedrock)
* [Common errors](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip#erros-comuns)

## Frequently asked questions

Do I need to add the port to the IP?

Yes, when the port is not the default 25565. Use the IP:port format, for example 123.45.67.89:25566.

Can a domain replace the IP?

Yes. A domain like play.yourserver.com pointing to the IP makes things easier for players, so nobody has to memorize numbers.

Do Java and Bedrock use the same IP?

The IP can be the same, but the port and the server type are usually different. Bedrock uses a different protocol from Java.

Next step

Create a Minecraft server

Simple plans for beginners, with activation within 60 seconds, Anti-DDoS and support in Portuguese.

[Create a Minecraft server](https://streethosting.com.br/en/minecraft-facil)

[See Minecraft Pro Managed hosting on Ryzen with modpacks, optimized Paper and technical support.](https://streethosting.com.br/en/minecraft-pro)

## Related guides

[Minecraft Beginner How to create a Minecraft server from scratch (step by step) This guide lays out server creation in a logical order: picking the right resources, launching the jar, accepting the EULA, pointing a domain, setting up the world and inviting players safely. 6 min Read guide](https://streethosting.com.br/en/guides/minecraft/how-to-create-a-minecraft-server) [Minecraft Beginner How to fix the Minecraft connection timed out error If a player tries to join and gets connection timed out, the cause is almost always the network, the port or DNS. This guide shows the right order to diagnose it. 3 min Read guide](https://streethosting.com.br/en/guides/minecraft/fix-minecraft-connection-timed-out) [Minecraft Beginner How to fix the outdated client or outdated server error in Minecraft This error shows up when the client and the server run different versions. With a simple process you can fix it fast and avoid it next time. 2 min Read guide](https://streethosting.com.br/en/guides/minecraft/fix-minecraft-outdated-client)

[← Back to the Guide Center](https://streethosting.com.br/en/guides)
