Skip to main content

Hugo

Lab Note: Signing Hugo so macOS Firewall Allows LAN Access to the Dev Server

·344 words·2 mins
Overview # The Hugo dev server worked on localhost but was unreachable on the Mac’s LAN IP (<mac-ip>), even with the correct --bind flag. Root cause: the macOS application firewall identifies apps by code signature, and Homebrew’s hugo binary is shipped completely unsigned — so even an explicit firewall allow rule could not attach to it. Fix: ad-hoc sign the binary.