How do I connect to a MeshCore room server from the app?
How Do I Connect to a MeshCore Room Server From the App?
A MeshCore room server stores messages for offline nodes and enables larger-group conversations that persist beyond the RF range of any single transmission. ConnectingImportantly, a room server is reached over the LoRa mesh, not over the internet. There is no server IP address, hostname, or TCP port involved, and no firewall configuration is needed. To join one you need to onebe fromwithin RF range of the MeshCoremesh app(directly or via relays) and know the room server's password, which is straightforwardset once you haveby the server address, port, and room key from your community administrator.operator.
Step-by-step connection
- Open the MeshCore app on your phone and ensure your companion node is connected via
Bluetooth.Bluetooth (or USB serial). TapWait for your companion node to discover theSettingsroom server as a contact on the mesh.iconRoom(gearserversicon,advertiseusuallythemselves over LoRa, so they appear intheyourtop-rightcontact list once your node hears them (directly orsiderelayedmenu)through other nodes).- Select the
RoomroomServersserver fromtheyoursettingscontact list. TapWhenAddprompted,Server(or the + button).
mesh.example.com192.168.1.505005Administration of the room server itself is done locally over Bluetooth or Connect.USB Theserial appon willthe attemptroom toserver establishdevice, not over a network connection. A green indicator or Connected status confirms success.
Troubleshooting connection failures
If you cannot join the connectionroom fails,server, work through these checks systematically:checks:
ConnectionRoom refusedserver errordoes not appear as a contact
- The room server node may not be powered on or may be out of RF range. Verify the room server
nodehas power and that your node can hear it on the mesh (checkdirectlytheornodethroughlist in the app)relays). TheMoveportcloser to the room server or to a node that relays it, then wait for your node to rediscover it on the mesh.
sudohear ufweach statussudoother iptableson -L -n | grep 5005LoRa.
AuthenticationPassword failedrejected or wrong keypassword error
- The
room keypassword you entered does not match theserverroom server's configuredkey.password.KeysPasswords are case-sensitive. Try re-entering it manually rather than copy-pasting to rule out invisible characters. - The
serveroperator may havehadchangeditsthekey rotated.password. Askyourtheadministratorserver operator for the currentkey.password.
AppMessages showsare Connectingnot indefinitelyarriving
Your phone cannot reach the server. Try opening a browser and navigating tohttp://[server-address]:[port]- if it times out, the network path is blocked.
Verifying the server is running (for administrators)
On the server host:
sudo systemctl status meshcore-room-server
sudo journalctl -f -u meshcore-room-serverYou should see lines indicating the server is listening on the configured port. Incoming connection attempts will be logged when clients connect.