Setup#
Configure settings in the game#
Settings → General → Require Encrypted Websockets → Disable
Testing#
Instead of writing an entire server just to ensure everything is set up correctly, bedrockpy provides a simple script we can run to find this out with one simple command.
python -m bedrock._demo
Follow the instructions shown on the terminal. After you have successfully connected the server should send a message in the game saying “Yeah! It works.”
Note
If the above does not work correctly, check out the troubleshooting page.
Congratulations, you have successfully established a connection and can proceed writing your own server. You will learn how to do that on the next page.