If you know the port and you want to check it status, you can issue the terminal command lsof -i:<<portno>>
For example I have a docker image running on port 80, as you can see there are processes attached to this port making it unavailable
(base) USMBP16pjamieso:FHIRZPM pjamieso$ lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
trustd 1208 pjamieso 23u IPv4 0x5eb92c9816be8ddf 0t0 TCP usmbp16pjamieso.fios-router.home:53920->192.229.211.108:http (ESTABLISHED)
trustd 1208 pjamieso 27u IPv4 0x5eb92c98164d7a1f 0t0 TCP usmbp16pjamieso.fios-router.home:53921->192.229.211.108:http (ESTABLISHED)
com.docke 7158 pjamieso 755u IPv6 0x5eb92c9337bb54a7 0t0 TCP *:http (LISTEN)
- Log in to post comments
I believe your query will work after you have configured OAuth 2.0.