url - Change Tomcat Address on my localhost -
on tomcat, have html page.
i need type following address make run:
http://127.0.0.1:8080/biddingsystem/biddingsystem.html
but want accessed using address: www.moribiz.com
is possible changing setting on tomcat?
i have eclipse ee , tomcat7, , need run servlets not @ localhost:8080
, on pretty domain :)
i have made way:
in file
%windows%\system32\drivers\etc\hosts
add:127.0.0.10 tomcat
in file
%workspace%\servers\tomcat 7
@localhost-config\server.xml
<connector port="80" address="127.0.0.10" connectiontimeout="20000" protocol="http/1.1" redirectport="8443" uriencoding="utf-8" /> <engine defaulthost="tomcat" name="catalina"> <host name="tomcat" appbase="webapps" autodeploy="true" unpackwars="true"> ... </host> </engine>
now apache tomcat works fine (i hope) @ http://tomcat/
, @ same time apache2+php works @ http://localhost/
.
Comments
Post a Comment