pitchfork will bind to all interfaces on TCP port 8080 by default.
Since a --listen flag already exist, I'd suggest binding only to localhost (127.0.0.1) by default.
I know this is mostly used internally right now, but it's such a common thing for webservers to accidentally bind to a public interface, for example on developer machines, unknowingly exposing an app to the internet.
Awesome project! 🏅
From the README:
Since a
--listen
flag already exist, I'd suggest binding only tolocalhost
(127.0.0.1
) by default.I know this is mostly used internally right now, but it's such a common thing for webservers to accidentally bind to a public interface, for example on developer machines, unknowingly exposing an app to the internet.