Meaningless Drivel is fun!*
The moose likes JBoss/WildFly and the fly likes how to remove 8080 from URL before deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Reply locked New topic
Author

how to remove 8080 from URL before deployment

Jayant Kumar
Greenhorn

Joined: Nov 03, 2007
Posts: 5
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://server_name:8080/abc
I would like to call it with this URL -
http://server_name/abc
Any suggestion would be appreciated. Thanks.
Avinash Ramana
Greenhorn

Joined: Jul 31, 2006
Posts: 11
You'll need to modify your server.xml to

Usually located here :
$JBOSS/server/default/deploy/jboss-web.deployer/server.xml

Search for 8080

You'll find that it says something like ..



Change 8080 to 80


J2EE programmer for JTG..
Jayant Kumar
Greenhorn

Joined: Nov 03, 2007
Posts: 5
Thank you Avinash. It worked fine.
Nilu Deshmukh
Greenhorn

Joined: Aug 03, 2009
Posts: 22
Hi,
we are using Jboss 5.0. According to above post I tried to access the my application "URL"without port number but its not working.

I am using 80 port for HTTP request and 8443 for HTTPS .

Can you Please tell me how to access the application url without using port number.

I am also want to redirect all HTTP request to HTTPS at server side only.

Thanks ,

Nil
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

Nilu, please do not wake the zombies.

Ask your question in a new post.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to remove 8080 from URL before deployment
 
Similar Threads
How to make a web project in My eclipse 4.1
UrlRewrite Rule works on tomcat 4.1.34 but fails on tomcat 5.0.28
Problem with ip URL
The requested resource is not available
tomcat startup problem