Read the docs and it's not clear to me -- is there a way to specify that
http should be down? Similarly, is there some kind of way to say that
https should be available on one port, but another port should not be?
You cannot do something like
10.0.0.1 hostA # !http
which would have been the obvious way of doing it, because "http"
expects a URL.
Instead, add a new test to the protocols.cfg file. E.g.
[web]
port 80
send "GET / HTTP/1.0\r\n\r\n"
expect "200"
then you can put
10.0.0.1 hostA # !web
in your hosts.cfg file.
Regards,
Henrik