008-mac下idea -apache tomcat 测试授权问题

一、下载

下载合适版本即可zip包

2、对bin下的*.sh授权

chmod 755 *.sh

3、80端口

  https://blog.csdn.net/ilovesmj/article/details/51541944

4、使用 idea debug 调试程序

  端口被占用

    关闭相关java程序:ps -ef |grep java;kill -9 进程ID

    如:Unable to open debugger port (127.0.0.1:64828): java.net.SocketException "Socket closed;

      经测试,此时多数是权限问题。需执行第二步骤。

5、hosts没有配置

vim 、etc/hosts

增加:127.0.0.1 localhost

6、配置了https port端口

原文地址:https://www.cnblogs.com/bjlhx/p/9072264.html