How to remove the Port number from my url? - tomcat6

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.

Related

Failed browsing discovery document

I am trying to follow the quick start sample on my local Windows 10 with IIS. When I browse
"http://localhost:5000/.well-known/openid-configuration" however, I got "This site can't be reached" error with Chome. When I tried the same with IE, it still failed but with some more detail: "The device or resource (localhost) is not set up to accept connections on port '5000'.". All I did was following the doc of the quick start. Is there something I missed, such as configuring IIS is some way?
Choose Kestrel as the startup project and then you will see the handy log in a console window. That will help you debug your connectivity issues. In the log you will see what port Kestrel is listening on.
Just choose the name of your project here instead of IIS Express:

Creating IRule in F5 based on ip_address:portnumber/servletname

I am very new for F5-LTM configuration.Any help related to below requirement will be vary much appreciated.
I have my application on Weblogic-11g server running on managed server at port number : 8001.
Now as my user count has increased i have created one more managed server at port number : 9001
Previously all my request were coming on http://ip_address:8001/login.html
now still i want all request should come from same but they redirect to both http://ip_address:8001/login.html and http://ip_address:9001/login.html
Note : i would also like to inform that in my application i have many other servlet also running so i want request forwarding based on http://ip_address:port_number/servlet
Any body who know How i can achieve my above request forwarding configuration in F5-LTM.
Thanks Again.
I have my application on Weblogic-11g server running on managed server
at port number : 8001. Now as my user count has increased i have
created one more managed server at port number : 9001
I don't think you need a different port and redirection.
You can still run the app on your second server on port 8001. Then you can add both the server under one virtual pool which will be under a virtual IP. Then the user can go to the app by using http://virtualIP:8001/login.html.
When a request is received by the virtual IP it can load balance the request between the two servers which are running the app on the same port 8001.
This is a good documentation in case are interested :
https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-basics-11-6-0.html

Monaca Localkit Launch Error

When I try to launch the Monaca Localkit application, it shows "Unable to start HTTP server. Maybe the port is occupied. Please change the port and restart the program."
Then, I have changed my port setting many times, but it still shows the same message.
My default port setting is 8001. And I checked whether other application is using this port by netstat command. But no application is using.
I tried to re-install Monaca Localkit application too. But the result is the same as before.
How can I fix this problem? Please give me an advise.
It means that another program is using that port, maybe another instance of localkit? If yes, terminate the program to free the port. You should also check if your firewall allows communications through port 8001.
If you want just to change port, you can open Localkit and go, from the menu bar, to Monaca Localkit -> Preferences and change Listening Port.

How to change the admin port using the Google App engine launcher?

It's easy to change the port of the application using the launcher. Go to Edit>>Application Settings (or alternatively Ctrl+i) and change the port. Since I was getting an error similar to the one given below, I changed the application port from 8080 to 48080. Unfortunately, I am not able to change the admin port from 8000 to 48000, because of which I am getting the following error.
google.appengine.tools.devappserver2.wsgi_server.BindError: Unable to bind localhost:8000
I also tried the method illustrated in the following image (my reference being this link):
Regardless of what I try, my web-browsers (Chrome and Firefox) return a message similar to This webpage is not available. Any ideas are appreciated.
I have seen this before, when I had a crashed instance running on the port. You may have a frozen Python script running on that port. On a Mac, I can go to Activity Monitor and kill the process. Not sure if you can do that via task manager in Windows. You may need to restart machine.

EndpointNotFoundException on client machine

My WCF Service is hosted under net.tcpbinding and in case it is not running when client makes a call to its methods but let me tell you our some of clients get access and some of not. i even check antivirus setting and firewall setting for each client but haven't came up with right answer , client gets the EndpointNotFoundException with this message:
There was no endpoint listening...
i have check the path of service there is no mistake in path. and in my nettcp service based on window credential type and enabletcpportsharing is also on.
Still searching for right solution.
Thank you!
After trying telnet (IP Address of app server) Port. so i can understand it's blocking by window firewall or router firewall. if telnet open window from client machine that's mean its working and if not opening in window then call Network administrator to open that port
Eg. telnet xxx.xx.xx.xx 80 in command prompt

Resources