SyntaxFix
Write A Post
Hire A Developer
Questions
Try (maybe as root)
lsof -i -P
and grep the output for the port you are looking for.
For example to check for port 80 do
lsof -i -P | grep :80