我已在Google Compute Engine实例上安装了Confluence。以下是服务器的配置文件。
<Server port="8000" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Standalone">
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="200" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8" />
<Engine name="Standalone" defaultHost="localhost" debug="0">
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false">
<Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
<!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-$
<Manager pathname="" />
</Context>
</Host>
</Engine>
但是当我输入
时我无法访问网络guihttp://<IP_address>:<port_number>
我也尝试过使用iptable重定向。
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT
--to-port 8090
答案 0 :(得分:5)