I have a number of servers, all with various HTTP(S) services accessible on a variety of ports. It's incredibly difficult to keep track of which service is available under which host and what port. Often I'm just relying on my browser history.Is there some shell command (some variation of netcat) or script that can, from a given server, list every port that is serving a web page? Or every port using HTTP or HTTPS?
How can I list every port serving a web page
shell;shell script;http;netstat;https