我正在尝试在 Ubuntu 服务器上安装 liferay。我正在学习本教程 Installation and Configuration of a Liferay Portal on a Ubuntu Server
完成后,我尝试通过执行 ./startup.sh 来启动服务器。
我在 yhe 日志文件中收到此错误:catalina.out:
Java.net.BindException: Adress Already in use <null>:8080
最佳答案
这意味着其他一些应用程序/服务正在使用导致冲突的相同端口。因此,将 tomcats 默认 HTTP 端口从 8080 更改为其他端口,例如 8081。 此更改后重新启动服务器。
It's in /tomcat-home/conf/server.xml
Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
关于tomcat - Liferay 门户托管在 n ubuntu 服务器上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25464692/