windows下,进入dos cmd(黑色屏幕窗口)运行netstat -an|findstr 8080|findstr /i listen一般默认为8080端口,如果有占用,则会显示出相应的条目,否则,表示没有被占用