This Minecraft tutorial explains how to use the /connect command with screenshots and step-by-step instructions.
The /connect command attempts to connect to the websocket server on the provided URL (see also /wsserver). Let's explore how to use this game command.
* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Connect Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE), the syntax to attempt to connect to the websocket server on the provided URL is:
/connect <serverUri>
Definitions
- serverUri is the URL of the websocket server to attempt to connect to.
Connect Command in Minecraft Xbox One Edition
In Minecraft Xbox One Edition, the syntax to attempt to connect to the websocket server on the provided URL is:
/connect <serverUri>
Definitions
- serverUri is the URL of the websocket server to attempt to connect to.
Connect Command in Minecraft PS4e Edition
In Minecraft PS4 Edition, the syntax to attempt to connect to the websocket server on the provided URL is:
/connect <serverUri>
Definitions
- serverUri is the URL of the websocket server to attempt to connect to.
Connect Command in Minecraft Nintendo Switch Edition
In Minecraft Nintendo Switch Edition, the syntax to attempt to connect to the websocket server on the provided URL is:
/connect <serverUri>
Definitions
- serverUri is the URL of the websocket server to attempt to connect to.
Connect Command in Minecraft Windows 10 Edition
In Minecraft Windows 10 Edition, the syntax to attempt to connect to the websocket server on the provided URL is:
/connect <serverUri>
Definitions
- serverUri is the URL of the websocket server to attempt to connect to.
Connect Command in Minecraft Education Edition
In Minecraft Education Edition, the syntax to attempt to connect to the websocket server on the provided URL is:
/connect <serverUri>
Definitions
- serverUri is the URL of the websocket server to attempt to connect to.
- PE
- Xbox
- PS
- Nintendo
- Win10
- Edu
Example in Pocket Edition (PE)
To connect to the server called minecraftserver.example.com using the default port in Minecraft PE:
/connect minecraftserver.example.com
To connect to the server called minecraftserver.example.com on port 19132:
/connect minecraftserver.example.com:19132
To connect to the server at 198.162.0.10 on port 19132:
/connect 198.162.0.10:19132
TIP: The URL minecraftserver.example.com, minecraftserver.example.com:19132 and 198.162.0.10:19132 are fictious servers and used for demonstration purposes.
Example in Xbox One Edition
To connect to the server called mcserver.example.com using the default port in Minecraft Xbox One Edition:
/connect mcserver.example.com
To connect to the server called mcserver.example.com on port 19132:
/connect mcserver.example.com:19132
To connect to the server at 198.162.0.15 on port 19132:
/connect 198.162.0.15:19132
TIP: The URL mcserver.example.com, mcserver.example.com:19132 and 198.162.0.15:19132 are fictious servers and used for demonstration purposes.
Example in PS4 Edition
To connect to the server called ps4server.example.com using the default port in Minecraft PS4 Edition:
/connect ps4server.example.com
To connect to the server called ps4server.example.com on port 19132:
/connect ps4server.example.com:19132
To connect to the server at 198.162.0.13 on port 19132:
/connect 198.162.0.13:19132
TIP: The URL ps4server.example.com, ps4server.example.com:19132 and 198.162.0.13:19132 are fictious servers and used for demonstration purposes.
Example in Nintendo Switch Edition
To connect to the server called server.example.com using the default port in Minecraft Nintendo Switch Edition:
/connect server.example.com
To connect to the server called server.example.com on port 19132:
/connect server.example.com:19132
To connect to the server at 198.162.1.7 on port 19132:
/connect 198.162.1.7:19132
TIP: The URL server.example.com, server.example.com:19132 and 198.162.1.7:19132 are fictious servers and used for demonstration purposes.
Example in Windows 10 Edition
To connect to the server called bestserver.example.com using the default port in Minecraft Windows 10 Edition:
/connect bestserver.example.com
To connect to the server called bestserver.example.com on port 19132:
/connect bestserver.example.com:19132
To connect to the server at 192.168.1.4 on port 19132:
/wsserver 192.168.1.4:19132
TIP: The URL bestserver.example.com, bestserver.example.com:19132 and 192.168.1.4:19132 are fictious servers and used for demonstration purposes.
Example in Education Edition
To connect to the server called teacher.example.com using the default port in Minecraft Education Edition:
/connect teacher.example.com
To connect to the server called teacher.example.com on port 19132:
/connect teacher.example.com:19132
To connect to the server at 198.162.1.8 on port 19132:
/connect 198.162.1.8:19132
TIP: The URL teacher.example.com, teacher.example.com:19132 and 198.162.1.8:19132 are fictious servers and used for demonstration purposes.
Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.
Once the cheat has been entered, the game will try to connect to the server.