Answer the question
In order to leave comments, you need to log in
How to remove redirect to localhost?
I open a link to the application mysite:8080/test - everything is OK, then I go to mysite:8080/test2 the application goes to mycomp.local:8080/test2 - it should be noted that I open links not on the computer where tomcat is located. With what it can be connected and how it to win?
Answer the question
In order to leave comments, you need to log in
Change the hostname or make an alias.
<Host name="localhost" ...>
...
<Alias>servername</Alias>
...
</Host>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question