Question

I am using Apache Tomcat6.0.i am relatively new to servers.i want to remove my port number from my URL.i searched for the listening port it is "wampapache". Example:

     localhost:8080/myappname/ (it is like this)

     localhost/myappname(my requirement)

P.s :- i searched for my answer and found i have to change to i did this and it says" some other service is running in this port so please stop those services or change port number!!! ".if anyone can guide me it would be helpful.

Thnaks in Adv!!

Was it helpful?

Solution

First Found the Pid From console and then Stopped the listening service by going to services.msc!

1)Open Cmd as administrator(right click and you can find the option).

2)type "netstat -ano" in the console

3)Find the services running on my required port "80"(here 80 because I don't want the port number to be displayed in the URL).note the PID number.

4)Open Task Manager then , click on services tab. Find the service name of the PID.

5)Type "services.msc" in Run. there find the Service name and right click and disable the service.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top