OS X: Nothing received from server on UDP port 60003
Author: jaidetreeCreated Jan 29, 2023Updated Jun 26, 2026
LabelssupportOS X
Reproduction
- Ran
mosh-serverand got the following output
> mosh-server
MOSH CONNECT 60003 SaHaHCFHl3b93sZkEsZDZA
mosh-server (mosh 1.4.0) [build mosh-1.3.2.95rc1-13-gc516fb4-dirty]
Copyright 2012 Keith Winstein <[email protected]>
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
[mosh-server detached, pid = 83878]- Copied the key
- Ran
env MOSH_KEY="SaHaHCFHl3b93sZkEsZDZA" mosh-client 192.168.0.200 60003
Expected
The client should connect to the mosh-server and display my login shell
Actual
Instead it seems to make initial ssh connection, but the mosh connection hangs:
mosh: Nothing received from server on UDP port 60003
Environment
| Key | Value |
|---|---|
| Operating System | OS X Ventura 13.1 |
| Mosh version | mosh 1.4.0 [build mosh-1.3.2.95rc1-13-gc516fb4-dirty] |
| Local Network IP | 192.168.0.200 |
What I've tried
- Followed the debug guide on the wiki and used the netcat command to listen on UDP port 60003, then used netcat in another terminal pane to send a message. It worked as expected.
- It does work on localhost
env MOSH_KEY="<key>" mosh-client 127.0.0.1 60003but not my local network IP like the example above - Disabled the firewall on OS X and my router, setup port forwarding as well
Any help would be appreciated!
Source: mobile-shell/mosh