# How to Connect to Your Return to Moria Server (/docs/the-lord-of-the-rings-return-to-moria/join-server)



import { Step, Steps } from 'fumadocs-ui/components/steps';

> 📝 There is no server browser — players need the **invite code** or **IP address**.

Invite Code [#invite-code]

1. Check the server console for the invite code on startup
2. Share it with players
3. In-game: **Join World** → enter the code

To regenerate: run `regenerateinvitecode` in the console, then restart.

Direct IP [#direct-ip]

1. In-game: select character → **Join Other World** → **Advanced Join Options** → **Direct Join**
2. Enter `IP:7777`

Port [#port]

| Port | Protocol |
| ---- | -------- |
| 7777 | UDP      |

Related Guides [#related-guides]

* [Server Configuration](/docs/the-lord-of-the-rings-return-to-moria/server-config)
