View windows on the port is occupied:
1 window + R, DOS Prompt
2 See all ports appropriations:
netstat -ano
3 View a specific port is occupied situation:
netstat -ano | findstr [port number]
4 View a port is occupied by what process:
tasklist | findstr [port number]
View port appropriations under linux: