如何断绝6.5更改端口8080上的Apache Tomcat在Linux的Centos到默认? [英] How to change Port 8080 on Apache Tomcat on Linux Centos 6.5 sever to the Default?

查看:191
本文介绍了如何断绝6.5更改端口8080上的Apache Tomcat在Linux的Centos到默认?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我的Apache Tomcat在Linux服务器上的CentOS 6.5移除端口8080交换机为默认值。在我的主持Apache Tomcat服务器在端口8080网址vmx15978.hosting24.com.au:8080运行。之后,我已经安装了Apache服务器上利用Geoserver软件的URL,这是的http:// vmx15978.hosting24.com.au:8080/geoserver/web/

I want to remove switch from port 8080 on my Apache Tomcat on Linux server CentOS 6.5 to the default. On My hosted Apache Tomcat server is running on port 8080 on url vmx15978.hosting24.com.au:8080. After I have installed the Geoserver software on the Apache server the url for it is http://vmx15978.hosting24.com.au:8080/geoserver/web/.

我的网站域名是links-map.com。目前,我可以通过这个网址访问利用Geoserver:links-map.com:8080/geoserver/web;不过,我想用这个网址,而不是没有8080访问利用Geoserver: http://links-map.com/ GeoServer的/ WEB /

My website domain is links-map.com. Currently I can access Geoserver by this URL: links-map.com:8080/geoserver/web; However, I want to access Geoserver without 8080 using this URL instead: http://links-map.com/geoserver/web/

我怎样才能做到这一点?

How can I do this?

请帮我。

推荐答案

从的

在你的tomcat安装目录,找到 server.xml中文件。

in your tomcat install dir, look for server.xml file.

变更

<Connector port="8080" ...

<Connector port="80" ....

或任何其他端口(80是不指定端口的默认)

or any other port (80 is the default without specifying port)

不要忘了重新启动Tomcat应用更改

don't forget to restart tomcat to apply changes

sudo service tomcat7 restart

这篇关于如何断绝6.5更改端口8080上的Apache Tomcat在Linux的Centos到默认?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆