Feature: Port forwarding examples, providers.json rewording (#194)
* providers.json cleanup, yeet all non-minecraft hosts advanced-setup.md start, include ovh/oci, or docker/ptero instructions there * more little fixes * portforwarding examples * portforwarding page done? minor other changes * fix OVH link, break up long lines, srv records * online/offline mode mismatch still exists * portforwarding title instead of advanced setup * spelling * macOS instructions * Rework providers.json * yeet <br> in favor of bulletpoints * yeet "\n", remove ni-host as supported * Apply suggestions from code review Co-authored-by: rtm516 <rtm516@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: rtm516 <rtm516@users.noreply.github.com> * change \" to ', or `` depending on context * mooooore `` * Address review by @rtm516 --------- Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
This commit is contained in:
1 parent
457227da4e
commit
d99084701f
20 files changed
+304
-205
No files matched your search
@@ -2,90 +2,93 @@
|
||||
title: Fixing 'Unable to Connect to World'
|
||||
---
|
||||
|
||||
*Unable to Connect to World* is by far the most common error people get when attempting to set up Geyser. Here's some steps on how to solve that.
|
||||
# Fixing 'Unable to Connect to World' errors
|
||||
This is by far the most common error people get when attempting to set up Geyser. Here's some steps on how to solve it.
|
||||
Usually, this error is caused by improper configuration of Geyser, or issues with your network.
|
||||
|
||||
**_If you are using a hosting provider: Many providers and remote hostings have additional steps you have to perform in order to be supported; see [Supporting Hosting Providers](/geyser/supported-hosting-providers/). If you're self-hosting from home, you don't need to worry about this._**
|
||||
<div class="alert alert-warning" role="alert">
|
||||
If you are using a Minecraft server hosting provider (e.g. Aternos, or Apex Hosting), you should refer to the hosting provider setup instructions on
|
||||
the <a href="/geyser/setup/">setup</a> page. Following these will most likely resolve the issue!
|
||||
</div>
|
||||
|
||||
# Before we start...
|
||||
If you are not using a Minecraft server hosting provider, carry on.
|
||||
|
||||
## ...Java players can't connect either!
|
||||
<div class="alert alert-info" role="alert">
|
||||
To check if your server is (theoretically) reachable on Bedrock edition, try running the following command in your server console:
|
||||
<code>geyser connectiontest <ip>:<port></code>, and see what it suggests to try.
|
||||
</div>
|
||||
|
||||
This **should not be** a Geyser problem. Geyser does not modify server behavior. Floodgate does modify the login structure but only for Bedrock players. Contact your hosting provider or look elsewhere for fixing this connection issue.
|
||||
### Java Edition players can't connect!
|
||||
|
||||
## ...I just updated, and now it doesn't work!
|
||||
This **should not be** a Geyser problem. Geyser does not modify server behavior. Floodgate does modify the login structure, but only for Bedrock players.
|
||||
Contact your hosting provider or look elsewhere for fixing this connection issue.
|
||||
|
||||
If this occurred after updating a plugin version of Geyser, ensure that you shut off your server, swapped the Geyser jar, and then started up your server.
|
||||
### Connecting fails after updating Geyser
|
||||
|
||||
## ...There are errors in my console!
|
||||
If this occurred after updating a plugin version of Geyser, ensure that you shut off your server, swapped the Geyser jar, and then started up your server.
|
||||
Incase you reset your configuration file, check out the [setup guide](/geyser/setup/) again.
|
||||
|
||||
### There are errors in my console!
|
||||
|
||||
Please read through the [common issues page](/geyser/common-issues/). If there is another error not documented there, join us on our [Discord](https://discord.geysermc.org).
|
||||
|
||||
## ...Have you tried restarting?
|
||||
### Try restarting the server and game
|
||||
|
||||
Especially on mobile devices, sometimes just restarting Minecraft fixes the issue.
|
||||
|
||||
# Is it the server or the client?
|
||||
### Is it the server or the client?
|
||||
|
||||
Run your Java server IP and Bedrock address here: https://mcsrvstat.us/. It's a great way of determining if the server is reachable in the first place.
|
||||
Run your Java server IP and Bedrock address here: https://mcsrvstat.us/. It's a great way of determining if the server is reachable in the first place.
|
||||
Additionally, check if you can see a connection attempt in the server console. If you can't, it's likely a network issue.
|
||||
|
||||
For console players specifically: If only they can't join, while other Bedrock players can, it is likely an issue with their console connecting method.
|
||||
|
||||
# General troubleshooting steps
|
||||
|
||||
## Ensure you're connecting on the right IP
|
||||
### Ensure you're connecting on the right IP and Port
|
||||
|
||||
You should be connecting with the Java server IP and the Bedrock port. If you port forwarded 19132, for example, you should specify port 19132 when connecting from Bedrock.
|
||||
You should be connecting with the Java server IP and the Bedrock port (set in the Geyser config). If you port forwarded 19132, for example, you should specify port 19132 when connecting from Bedrock.
|
||||
|
||||
## I'm using a hosting provider or VPS!
|
||||
### I'm using a hosting provider or VPS!
|
||||
|
||||
Please read [this page on supported hosting providers](/geyser/supported-hosting-providers/) to see if there are extra configuration steps required for your hosting or server provider.
|
||||
Some VPS/KVM providers may require further setup, such as OVH, SoYouStart, and Oracle Cloud. Please read this [note](/geyser/port-forwarding/#issues-with-specific-vpskvm-providers) for more information.
|
||||
|
||||
## Port forwarding
|
||||
### Issues using Docker or Pterodactyl
|
||||
Make sure you assign the port to pterodactyl, and on docker, to the docker compose file. See our [port-forwarding](/geyser/port-forwarding/#using-docker-or-pterodactyl) page for fixes.
|
||||
|
||||
Your server does need to be port forwarded. Generally, you can follow any Minecraft: Java Edition port forwarding guide; however, you need to replace any mention of TCP with UDP and, by default, any mention of 25565 with 19132.
|
||||
# Port forwarding issues
|
||||
|
||||
## Using TCP in DNS options/port forwarding Instead of UDP
|
||||
Your server does need to be port forwarded to allow connections from outside the local network. See [our port-forwarding guide](/geyser/port-forwarding/) for more information.
|
||||
|
||||
### Using TCP in DNS options/port forwarding instead of UDP
|
||||
|
||||
Minecraft: Java Edition uses TCP for connecting; Minecraft: Bedrock Edition uses UDP. Port forwarding your Bedrock Edition port with only TCP will not work, it has to be UDP. Forwarding your Bedrock Edition port with `TCP/UDP` (both protocols) should also work but is not recommended unless Java Edition and Bedrock Edition is sharing the same port.
|
||||
|
||||
## Bedrock port is less than 10000
|
||||
### Bedrock port is less than 10000
|
||||
|
||||
Historically, having a Bedrock port that is a lower number will cause issues. Setting it to 10000 or above seems safe.
|
||||
|
||||
## Bedrock players can connect *after* hitting the server on a TCP port (e.g. on Java or a website on the same server), OR only people who also play on Java Edition can join from Geyser
|
||||
### Bedrock players can connect *after* hitting the server on a TCP port (e.g. on Java or a website on the same server), OR only people who also play on Java Edition can join from Geyser
|
||||
|
||||
This is likely a firewall issue on your server. Try the following workaround:
|
||||
|
||||
Attempt to connect to the Bedrock IP and port through a web browser - for example, `http://test.geysermc.org:19132`. It won't work, but then try connecting through Bedrock, and it should work.
|
||||
|
||||
Specific host fixes:
|
||||
Specific host fixes for OVH/SoYouStart can be found [here](/geyser/port-forwarding/#issues-with-specific-vpskvm-providers).
|
||||
|
||||
SoYouStart (a subsidiary of OVH):
|
||||
### Changing the `bedrock` `address` in the Geyser config.
|
||||
|
||||
In the SoYouStart control panel:
|
||||
1. Click the IP tab.
|
||||
2. Click the gear at the right of the public IP address; select "Game mitigation".
|
||||
3. Pick "Add a rule".
|
||||
4. Select "minecraftPocketEdition" in the dropdown list and enter the target UDP ports.
|
||||
5. Save and wait a few seconds for the changes to come into effect.
|
||||
|
||||
## Issues connecting with OVH or a subsidiary
|
||||
|
||||
If you're running into issues with some Bedrock players being unable to connect on OVH, navigate through the following settings:
|
||||
|
||||
- Navigate to `Network interfaces`
|
||||
- Click on the `...` button on the table for your IP -> then `...` and `Configure the GAME firewall` -> `Add rule` -> `Other protocol` (or `minecraftPocketEdition` if available)
|
||||
- Add your Geyser port into `outgoing port`
|
||||
|
||||
## Changing the `bedrock` `address` in the Geyser config.
|
||||
|
||||
Except for a few specific hosting providers, you generally do not need to change this part of the Geyser config. However, in rare instances, it does fix issues
|
||||
Except for a few specific hosting providers, you generally do not need to change this part of the Geyser config.
|
||||
However, in rare instances, it does fix issues - for example, when Windows has multiple network adapters (check by running `ipconfig` in cmd),
|
||||
it can help to set the `address` to the local IP of the adapter you want to use.
|
||||
|
||||
# Using a hosting provider or other location
|
||||
|
||||
## Pterodactyl
|
||||
### Pterodactyl
|
||||
|
||||
If you get this error while using the Pterodactyl Panel, try editing the Geyser config and changing the port to something besides `19132` (e.g. `25566`).
|
||||
|
||||
## Hosting Geyser on another computer on the same network
|
||||
# Hosting Geyser on another computer on the same network
|
||||
|
||||
### Can only connect from the same computer and not anywhere else
|
||||
|
||||
@@ -97,7 +100,7 @@ Minecraft offers a vanilla Bedrock server [here](https://www.minecraft.net/downl
|
||||
|
||||
# Using Geyser on the same computer
|
||||
|
||||
## Windows 10/11
|
||||
### Windows 10/11
|
||||
|
||||
_This only affects people trying to join Geyser from Windows 10/11 Edition with Geyser hosted on the same computer._
|
||||
|
||||
|
||||
Reference in new issue
Block a user