TFTP Server on macOS: Cannot bind to port 69, the service doesn't start
2 posts
Hi, I'm trying to use your TFTP server on my Mac, and I get the error "Cannot bind to port 69" and the service doesn't start.
How do I fix this as it's not covered in the instructions/manual?
I've attached the server log export and also the TFTPserver.INI file.
Thanks
It means another program on your Mac is already listening on UDP port 69, so TFTP Server cannot take it. It is not a permissions problem: macOS lets an ordinary user open port 69 when the server listens on all interfaces, which is the default.
To see what is holding the port, run this in Terminal:
sudo lsof -nP -iUDP:69
If the command shown is launchd, it is the TFTP server built into macOS. It is off by default, but setup guides for network equipment often turn it on. This switches it off:
sudo launchctl unload -w /System/Library/LaunchDaemons/tftp.plist
If it is another TFTP program, or a second copy of TFTP Server, quit that one and click Start again.
If you would rather keep the other server, change the Port in the settings to something above 1024, such as 6969, and point your TFTP client at that port.