Mobile app version of vmapp.org
Login or Join
LarsenBagley505

: Where is my Tomcat running on my virtual server? According to what I know; Apache and Tomcat are listing on different ports by default. If I have both of them running locally then: localhost

@LarsenBagley505

Posted in: #Apache #Localhost #Tomcat

According to what I know; Apache and Tomcat are listing on different ports by default. If I have both of them running locally then:


localhost -> Apache home page (port 80)
localhost:8080" -> Tomcat home page


Now we are writing a web project hosted virtual server and we have got an got a URL like SOMESERVER:8013 which redirects to our Apache home page.

Note: We use port 8013 since we are group 13 and other numbers goes to other groups, and a group can't access others' machines.

I think it is working like when a request goes to SOMESERVER on port 8013, it is redirected to our virtual machine (on port80 maybe? I tried telnet localhost 80 and GET / gives me Apache homepage.

If I start up Tomcat with the default configuration where can I find my Tomcat's home page? SOMESERVER:8013:8080 is not working anyways...

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @LarsenBagley505

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

If port 8013 is your tomcat server's HTTP connector port (and it is hard for me to tell based on your description), you can place your default homepage within $TOMCAT_HOME/webapps/ROOT/. Once you replace that page, requests to someserver:8013/ would display your new default page.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme