alternate way for http://127.0.0.1:8080

Reply

Join Date: Jun 2009
Posts: 13
Reputation: sharao is an unknown quantity at this point 
Solved Threads: 0
sharao sharao is offline Offline
Newbie Poster

alternate way for http://127.0.0.1:8080

 
0
  #1
Jun 25th, 2009
presently iam running my application using the following url

http://127.0.0.1:8080/project

without giving the above ip address & port number, can any one suggest alternate way like

http://daniweb/project

thnx
rajesh
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,380
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 252
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: alternate way for http://127.0.0.1:8080

 
0
  #2
Jun 25th, 2009
Change your application server/web container configuration to use port 80, rather than 8080, than use localhost.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 13
Reputation: sharao is an unknown quantity at this point 
Solved Threads: 0
sharao sharao is offline Offline
Newbie Poster

Re: alternate way for http://127.0.0.1:8080

 
0
  #3
Jun 25th, 2009
i tried in tomcat server.xml, but didn't get any result

i want to run application without giving http://localhost:8080/project

.....Eg:http://raj/project

plz..
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,380
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 252
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: alternate way for http://127.0.0.1:8080

 
0
  #4
Jun 25th, 2009
Read the manual. It is all explained quite well. You simply need to change the address and port in the configuration. That's all. The manual will tell specifically how and where to do so.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 2
Reputation: naeem.jamil is an unknown quantity at this point 
Solved Threads: 0
naeem.jamil naeem.jamil is offline Offline
Newbie Poster

Re: alternate way for http://127.0.0.1:8080

 
0
  #5
Jun 25th, 2009
Originally Posted by sharao View Post
presently iam running my application using the following url

http://127.0.0.1:8080/project

without giving the above ip address & port number, can any one suggest alternate way like

http://daniweb/project

thnx
rajesh
First change your web server port from 8080 to 80.
For tomcat for example open server.xml file from the given path like
C:\Programs\Apache Software Foundation\Tomcat 6.0\conf
and change following portion in this file.
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
It will be like given below.
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />

then instead of writing http://127.0.0.1:8080/project
you can write http://yoursystemname/project
Regards,
Naeem Jamil
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,380
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 252
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: alternate way for http://127.0.0.1:8080

 
0
  #6
Jun 25th, 2009
I guess it's just too hard to read documentation these days. So hard that other people need to do it for you, then write out their interpretation of what they read for you to read and interpret yourself.

So now two people have had to read and interpret something and who knows if what the "end user" understood and implemented is actually what the documentation said, but now one person has wasted their time waiting for someone else to read the documentation for them, and another person has wasted their time reading and regurgitating it.
Last edited by masijade; Jun 25th, 2009 at 5:50 am.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 2
Reputation: naeem.jamil is an unknown quantity at this point 
Solved Threads: 0
naeem.jamil naeem.jamil is offline Offline
Newbie Poster

Re: alternate way for http://127.0.0.1:8080

 
0
  #7
Jun 25th, 2009
Originally Posted by sharao View Post
i tried in tomcat server.xml, but didn't get any result

i want to run application without giving http://localhost:8080/project

.....Eg:http://raj/project

plz..
after changing in server.xml restart ur tomcat.
and what is "raj"
Is it ur system name? using localhost instead of raj and check what is result.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 13
Reputation: sharao is an unknown quantity at this point 
Solved Threads: 0
sharao sharao is offline Offline
Newbie Poster

Re: alternate way for http://127.0.0.1:8080

 
0
  #8
Jun 27th, 2009
thnx for ur suggetions i got it........
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC