繁体   English   中英

我正在使用Window Server 2008 VPS,如何在用户键入IP地址时将其转到Tomcat页面而不是IIS页面?

[英]I am using Window Server 2008 VPS, how to make that when user type the IP address it will go to Tomcat page not IIS page?

我刚刚用Window Server 2008购买了Godaddy虚拟专用服务器计划。

我可以通过远程桌面连接登录VPS服务器。 每个VPS都有一个IP地址。 当用户键入我的idaddress xxxx时,它将显示默认的IIS7页面,如下所示: 在此处输入图片说明

好的,现在我下载了Tomcat7,JRE6,并且可以在http://localhost:8080/xxxx:8080看到tomcat页面。 现在,我希望输入idaddress xxxx时将显示默认的Tomcat页面,而不是IIS7页面。

这就是我所做的。 我编辑了C:\\tomcat7\\conf\\server.xml

  <Connector port="80" protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="8443" /> //changed port from 8080 to 80

好的,现在当输入xxxx:8080它显示了Unable to connect ,当输入xxxx它仍然显示了IIS7页面。

如何配置,以便当用户键入我的idaddress xxxx时,它将显示默认的Tomcat页面而不是IIS7页面?

额外信息:现在我刚刚在WindowServer中关闭了World Wide Publishing service ,并且我希望当输入xxxx时它将显示Tomcat默认页面,但什么也没显示

好的,我做到了,很简单,只需在WindowServer中关闭World Wide Publishing service ,然后将C:\\tomcat7\\conf\\server.xml端口8080更改为80,现在输入ipaddress时它会显示tomcat默认页面

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM