idea启动tomcat提示端口被占用
Tofloor
poster avatar
Payne
deepin
2017-08-24 18:21
Author
普通用户和sudo来启动idea后启动tomcat都提示端口被占用。netstat -an查了端口没被占用。chmod -R -775 改了idea和tomcat目录权限也试过把tomcat放在home/当前用户 的目录下也不行,求各位大大指点啊。
Reply Favorite View the author
All Replies
fangtao
deepin
2017-08-24 18:42
#1
非root账户1024以下端口不允许使用,你看是否用了1024以下端口
Reply View the author
yxiao
deepin
2017-08-24 18:43
#2
你都说了是端口被占用,和权限有什么关系。
Reply View the author
DebuggerX
deepin
2017-08-24 18:55
#3
看提示占用的是哪个就修改掉不就得了……
Reply View the author
Payne
deepin
2017-08-24 19:30
#4
https://bbs.deepin.org/post/144612
非root账户1024以下端口不允许使用,你看是否用了1024以下端口

多谢提醒,我用了81。忘了这茬了。。
Reply View the author
Payne
deepin
2017-08-24 19:32
#5
https://bbs.deepin.org/post/144612
看提示占用的是哪个就修改掉不就得了……

谢谢回复,我是win下的project目录直接打开用了。tomcat81端口也忘改了。。。。
Reply View the author