> For the complete documentation index, see [llms.txt](https://mc-shengxia.gitbook.io/hmcl-pe-user-manual-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mc-shengxia.gitbook.io/hmcl-pe-user-manual-en/time-to-play/multiplayer/online-in-the-same-wifi.md).

# Online in the same Wifi

{% hint style="info" %}
You just need to make sure that both devices are connected to Wifi and that the invited person joining the game is logged into a Microsoft account.
{% endhint %}

### Host player:&#x20;

You need to start the game first, entera archive as the online world

![](https://1121425360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC63FIAOMaTmGb9ehJkif%2Fuploads%2FQiJQaUjXDKdJbPNAWpAO%2FScreenshot_2022-08-16-10-08-19-18_d17cc25ab2657fb.jpg?alt=media\&token=a02090ba-00aa-4280-b998-65b1ecb67ace)

You need to start the game first, entera archive as the online world, and then dishes inthe game Select the opening option for the LAN

![](https://1121425360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC63FIAOMaTmGb9ehJkif%2Fuploads%2Fmwa8MUDkZOIlwkGwzud5%2Fqq_pic_merged_1660616347953.jpg?alt=media\&token=e5c99099-0c9e-4df5-ae11-dba4dfb5bc1e)

![](https://1121425360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC63FIAOMaTmGb9ehJkif%2Fuploads%2F6uyIgZ8f6mtulrDCC9aE%2Fqq_pic_merged_1660616383607.jpg?alt=media\&token=eb1fee63-9397-4122-9b60-f46d49ee1af9)

remember your port number

![](https://1121425360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC63FIAOMaTmGb9ehJkif%2Fuploads%2FVTJ9xnUd7hYvxIehSemX%2Fqq_pic_merged_1660616449647.jpg?alt=media\&token=d159fe73-6aac-4e82-acd2-f7638e71fdc0)

Your server IP is `localhost:port`, you need to send them to your online partner.&#x20;

### Member player:&#x20;

You need to ask the host player for port,then add a server to the multiplayer game sector of the game.

![](https://1121425360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC63FIAOMaTmGb9ehJkif%2Fuploads%2FZFozhjICGmytRNufkIwE%2FScreenshot_2022-08-16-10-38-32-71_d17cc25ab2657fb.jpg?alt=media\&token=1078590b-caab-449b-a4c7-f4bb91ea013d)

The name of the server is arbitrarily, and the server address is filled in the localhost:port(like localhost:25565) provided by the homeowner, and the server can be added.

![](https://1121425360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC63FIAOMaTmGb9ehJkif%2Fuploads%2FdLkpv8rC5nrgcoXJGEwK%2FScreenshot_2022-08-16-10-38-46-15_d17cc25ab2657fb.jpg?alt=media\&token=0a7a7bea-8691-4e45-b3a9-154fe9ad39ef)

Success!

![](https://1121425360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC63FIAOMaTmGb9ehJkif%2Fuploads%2FcI10x6RkJcLl4DJVJjgw%2FScreenshot_2022-08-16-10-39-06-66_d17cc25ab2657fb.jpg?alt=media\&token=4d225033-9462-46bd-b78b-ae6866ff055b)
