简体   繁体   中英

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?

I have just bought Godaddy Virtual Private Server plan with Window Server 2008.

I can login VPS Server via Remote Desktop Connection. Each VPS has an IPaddress. when user types my idaddress xxxx it will show the default IIS7 page like this: 在此处输入图片说明

Ok, now I downloaded Tomcat7, JRE6 & can be able to see tomcat page at http://localhost:8080/ or xxxx:8080 . Now I want that when typing my idaddress xxxx it will show the default Tomcat page rather than IIS7 page.

So here is what I did. I edited C:\\tomcat7\\conf\\server.xml

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

Ok, now when entered xxxx:8080 it showed Unable to connect , when entered xxxx it still shows the IIS7 page.

How to config so that when user types my idaddress xxxx it will show the default Tomcat page rather than IIS7 page?

Extra info: Now I have just turned off World Wide Publishing service in WindowServer, & I expected that when entered xxxx it will show the Tomcat default page but it showed nothing

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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