原因是linux下出于安全着想不允许使用1024以下端口。 解决办法: 使用sudo 启动如 : sudo nohup java -jar xxx.jar 这样 如果是tomcat就只有使用端口映射了。