Thursday, May 23rd

Last update09:35:45 PM GMT

Add Announcement Here

Hide my server Port on the url.

Hide my server Port on the url.

Hello every body ,
it's been a while i do not post something here but i am back because i am facing a problem. Here is the thing actually i have a server on which tomcat and glassfish are both running so that i am able to deploy my j2ee war application without any problem. Actually i want to know if there any possibility for me to hide my application server port's number . For example if the application is www.myserver.com:8080 i want to change it to www.myserver.com. Any idea ???

-------------------------------
Bonjour tout le monde ,
ça faisait un bon bout de temps que je n'ai pas posté de message par ici mais j'y suis contraint aujourd'hui parce que j'ai un petit soucis. Actuellement j'ai un serveur en ligne qui a tomcat et glassfish qui tournent sans soucis . J'ai donc la possibilité de déployer les applications war sans trop de difficultés. Je voudrais maintenant cacher le numéro de port de l'url de mon serveur d'application. Par exemple si l'url c'est www.monserver.com:8080 je voudrais que ça soit juste www.monserver.com . Merci .

Jean Louis
useravatar
Offline
21 Posts
User info in posts
Administrator has disabled public posting

Re: Hide my server Port on the url.

Jean Louis wrote:

Hello every body ,
it's been a while i do not post something here but i am back because i am facing a problem. Here is the thing actually i have a server on which tomcat and glassfish are both running so that i am able to deploy my j2ee war application without any problem. Actually i want to know if there any possibility for me to hide my application server port's number . For example if the application is www.myserver.com:8080 i want to change it to www.myserver.com. Any idea ???

-------------------------------
Bonjour tout le monde ,
ça faisait un bon bout de temps que je n'ai pas posté de message par ici mais j'y suis contraint aujourd'hui parce que j'ai un petit soucis. Actuellement j'ai un serveur en ligne qui a tomcat et glassfish qui tournent sans soucis . J'ai donc la possibilité de déployer les applications war sans trop de difficultés. Je voudrais maintenant cacher le numéro de port de l'url de mon serveur d'application. Par exemple si l'url c'est www.monserver.com:8080 je voudrais que ça soit juste www.monserver.com . Merci .

Change the port to 80 instead of 8080 in server.xml in tomcat's conf directory
<Connector port="80" maxHttpHeaderSize="8192" 
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75" 
               enableLookups="false" redirectPort="8443" acceptCount="100" 
               connectionTimeout="20000" disableUploadTimeout="true" />

amadou
useravatar
Offline
169 Posts
User info in posts
Administrator has disabled public posting

Re: Hide my server Port on the url.

amadou wrote:

Jean Louis wrote:

Hello every body ,
it's been a while i do not post something here but i am back because i am facing a problem. Here is the thing actually i have a server on which tomcat and glassfish are both running so that i am able to deploy my j2ee war application without any problem. Actually i want to know if there any possibility for me to hide my application server port's number . For example if the application is www.myserver.com:8080 i want to change it to www.myserver.com. Any idea ???

-------------------------------
Bonjour tout le monde ,
ça faisait un bon bout de temps que je n'ai pas posté de message par ici mais j'y suis contraint aujourd'hui parce que j'ai un petit soucis. Actuellement j'ai un serveur en ligne qui a tomcat et glassfish qui tournent sans soucis . J'ai donc la possibilité de déployer les applications war sans trop de difficultés. Je voudrais maintenant cacher le numéro de port de l'url de mon serveur d'application. Par exemple si l'url c'est www.monserver.com:8080 je voudrais que ça soit juste www.monserver.com . Merci .

Change the port to 80 instead of 8080 in server.xml in tomcat's conf directory
<Connector port="80" maxHttpHeaderSize="8192" 
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75" 
               enableLookups="false" redirectPort="8443" acceptCount="100" 
               connectionTimeout="20000" disableUploadTimeout="true" />

Ok Amadou i will try this . But tell me what to do if i have more than one application running on the server ?

Jean Louis
useravatar
Offline
21 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
117
Total Polls:
0
Total Posts:
463
Dormant:
User Info:
 
Total Users:
1297
Newest User:
margaret0
Members Online:
0
Guests Online:
103

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked

Contact us

  • Add: 554 N Frederick Avenue Suite 216,
    Gaithersburg, MD 20877 USA
  • Tel: (888) 418-1146
You are here: Forum Java General discussion Hide my server Port on the url.