Investigating header and cookie flag issues

I am working on issues reported by Nessus. Most of the issue types are missing headers and cookie flags.

The tricky part here is these issues have been reported at different port numbers, for example 443, 8008 and 8080.

Can anyone please help on how to check the request and response on these port numbers or how to check whether the security headers and cookie flags are set on different port numbers?