Hello... Could someone please tell me, what can I do to give my application a simple URL.
Right now I call my app with this URL -
http://localhost:8080/abc I would like to call it with this URL -
http://localhost/abc I want to deploy it in WildFly10 web server.
Any suggestion would be appreciated. Thanks.
You would have to configure your WildFly server to listen on port 80 instead of port 8080. Since port 80 is the default port for the HTTP protocol, it's unnecessary to specify the port in the URL if port 80 is intended.
Thank you Paul for your reply..
I am not that familiar with WildFly..
Could you please tell me how would I configure my WildFly server to listen on port 80 instead of port 8080..
I have specified the port number in xml file- wildfly-10.0.0.Final\standalone\configuration\standalone.xml So how would I edit that file??
Thanks in advance..
I'm not at all familiar with WildFly, but as you can see the question and its answer are independent of what server you're using.
But as for how to edit a file, my first instinct is to suggest using a text editor since it's a text file... but surely your question didn't mean that?
yeah I didn't mean that..
I asked whether I had to change 8080 to 80 or not to mention the port number..
Anyway I changed the port number to 8080 to 80 and it works!!!
Thank you Paul..