문제

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!!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top