RE: How to use Port 80?
Yes, you put a webserver like Apache on port 80, then configure Apache to send JSP and servlet requests to Tomcat. Running things as root on port 80 is a bad idea, especially if you are new to systems administration. If you are just doing development, etc. on a private machine, it is not that big of a deal. Keep in mind, though, that if you build your application to assume that everything happens on port 80 and that Tomcat runs as root, you will most likely have some fairly big obstacles to overcome when you try to deploy your app, especially if you don't control the targeted production server. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 9:08 AM To: Tomcat Users List Subject: Re: How to use Port 80? thanks I looked back at the archieves and found out how to change the user to Root. I did that and it worked. I did find some other messages indicating what you said, which was running as ROOT might be bad idea from a system adminstration perspective. Unfortunately, I found no other way to run on Port 80. Is there another way? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] Date: Sun, 22 Sep 2002 18:38:01 +1000 From: Ben Walding [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to use Port 80?
You don't want to change /etc/services as it is simply a directory of mappings between well known service names and ports. Tomcat runs as the user tomcat4 on RedHat 7.x. This user is unable to bind to port 80. People have had success with changing the user to root, but this is generally considered a bad way of doing things. You'll want to check the mail archives as this has been discussed quite a bit. [EMAIL PROTECTED] wrote: I looked in /etc/services and found ... ttp80/tcp www www-http# WorldWideWeb HTTP http 80/udp www www-http# HyperText Transfer Protocol ... I'm not sure how got there unless it was just part of RedHat 7.3. Im not running Apache or any other web server. Im trying to use Tomcat4 as my Web server. Should I change /etc/services and if so how? thanks again -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:50:41 -0400 Normally that's the default - Apache (not Tomcat) uses it. Look at httpd.conf , the Listen directive, should read something like 192.168.4.5:80 ie the ip-addr:port In default RH u will find that under /etc/httpd/conf To look at a static list of port assignments : /etc/services I am not sure what u r tyring to do , but I hope that's helpful. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:36 PM Subject: Re: How to use Port 80? not intentionally, how would I know if I did that? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:34:53 -0400 Could you have assigned 80 to HTTP requests already ??? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:03 PM Subject: How to use Port 80? Hi Im running Tomcat 4.1.10 on Red Hat 7.3. Im trying to change the port to 80 from 8080. I made the following change in my server.xml From: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / to: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / then I restart Tomcat4 with the Service Configuration utility and I get the following message in the browser when I go to http://localhost An error occured while loading http://localhost/: Could not connect to host localhost Thanks in advance for any help Hal Haig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to use Port 80?
thanks I looked back at the archieves and found out how to change the user to Root. I did that and it worked. I did find some other messages indicating what you said, which was running as ROOT might be bad idea from a system adminstration perspective. Unfortunately, I found no other way to run on Port 80. Is there another way? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] Date: Sun, 22 Sep 2002 18:38:01 +1000 From: Ben Walding [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? You don't want to change /etc/services as it is simply a directory of mappings between well known service names and ports. Tomcat runs as the user tomcat4 on RedHat 7.x. This user is unable to bind to port 80. People have had success with changing the user to root, but this is generally considered a bad way of doing things. You'll want to check the mail archives as this has been discussed quite a bit. [EMAIL PROTECTED] wrote: I looked in /etc/services and found ... ttp80/tcp www www-http# WorldWideWeb HTTP http 80/udp www www-http# HyperText Transfer Protocol ... I'm not sure how got there unless it was just part of RedHat 7.3. Im not running Apache or any other web server. Im trying to use Tomcat4 as my Web server. Should I change /etc/services and if so how? thanks again -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:50:41 -0400 Normally that's the default - Apache (not Tomcat) uses it. Look at httpd.conf , the Listen directive, should read something like 192.168.4.5:80 ie the ip-addr:port In default RH u will find that under /etc/httpd/conf To look at a static list of port assignments : /etc/services I am not sure what u r tyring to do , but I hope that's helpful. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:36 PM Subject: Re: How to use Port 80? not intentionally, how would I know if I did that? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:34:53 -0400 Could you have assigned 80 to HTTP requests already ??? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:03 PM Subject: How to use Port 80? Hi Im running Tomcat 4.1.10 on Red Hat 7.3. Im trying to change the port to 80 from 8080. I made the following change in my server.xml From: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / to: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / then I restart Tomcat4 with the Service Configuration utility and I get the following message in the browser when I go to http://localhost An error occured while loading http://localhost/: Could not connect to host localhost Thanks in advance for any help Hal Haig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to use Port 80?
You can set up a port forward / filter such that traffic that comes in on port 80 gets filtered through to port 8080 The other options is to use Apache out the front on port 80 and then mod_jk / jk2 / mod_webapp to connect tomcat into apache. I can't recommend one or the other for these as I don't run in either configuration. It's all a big game! Ben [EMAIL PROTECTED] wrote: thanks I looked back at the archieves and found out how to change the user to Root. I did that and it worked. I did find some other messages indicating what you said, which was running as ROOT might be bad idea from a system adminstration perspective. Unfortunately, I found no other way to run on Port 80. Is there another way? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] Date: Sun, 22 Sep 2002 18:38:01 +1000 From: Ben Walding [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? You don't want to change /etc/services as it is simply a directory of mappings between well known service names and ports. Tomcat runs as the user tomcat4 on RedHat 7.x. This user is unable to bind to port 80. People have had success with changing the user to root, but this is generally considered a bad way of doing things. You'll want to check the mail archives as this has been discussed quite a bit. [EMAIL PROTECTED] wrote: I looked in /etc/services and found ... ttp80/tcp www www-http# WorldWideWeb HTTP http 80/udp www www-http# HyperText Transfer Protocol ... I'm not sure how got there unless it was just part of RedHat 7.3. Im not running Apache or any other web server. Im trying to use Tomcat4 as my Web server. Should I change /etc/services and if so how? thanks again -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:50:41 -0400 Normally that's the default - Apache (not Tomcat) uses it. Look at httpd.conf , the Listen directive, should read something like 192.168.4.5:80 ie the ip-addr:port In default RH u will find that under /etc/httpd/conf To look at a static list of port assignments : /etc/services I am not sure what u r tyring to do , but I hope that's helpful. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:36 PM Subject: Re: How to use Port 80? not intentionally, how would I know if I did that? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:34:53 -0400 Could you have assigned 80 to HTTP requests already ??? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:03 PM Subject: How to use Port 80? Hi Im running Tomcat 4.1.10 on Red Hat 7.3. Im trying to change the port to 80 from 8080. I made the following change in my server.xml From: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / to: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / then I restart Tomcat4 with the Service Configuration utility and I get the following message in the browser when I go to http://localhost An error occured while loading http://localhost/: Could not connect to host localhost Thanks in advance for any help Hal Haig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
which proxy (mod_jk,jk2,webapp etc. (was Re: How to use Port 80?)
You can also use Apache's standard mod_proxy, but this forward all traffic to tomcat. Does anyone have an overview of what the pros and cons of each of these possibilties? I'm looking for ease of setup, features, stability, is it currently being maintained, improved etc. Regards, Ben Walding wrote: You can set up a port forward / filter such that traffic that comes in on port 80 gets filtered through to port 8080 The other options is to use Apache out the front on port 80 and then mod_jk / jk2 / mod_webapp to connect tomcat into apache. I can't recommend one or the other for these as I don't run in either configuration. It's all a big game! Ben -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How to use Port 80?
Hi Im running Tomcat 4.1.10 on Red Hat 7.3. Im trying to change the port to 80 from 8080. I made the following change in my server.xml From: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / to: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / then I restart Tomcat4 with the Service Configuration utility and I get the following message in the browser when I go to http://localhost An error occured while loading http://localhost/: Could not connect to host localhost Thanks in advance for any help Hal Haig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to use Port 80?
Could you have assigned 80 to HTTP requests already ??? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:03 PM Subject: How to use Port 80? Hi Im running Tomcat 4.1.10 on Red Hat 7.3. Im trying to change the port to 80 from 8080. I made the following change in my server.xml From: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / to: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / then I restart Tomcat4 with the Service Configuration utility and I get the following message in the browser when I go to http://localhost An error occured while loading http://localhost/: Could not connect to host localhost Thanks in advance for any help Hal Haig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to use Port 80?
not intentionally, how would I know if I did that? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:34:53 -0400 Could you have assigned 80 to HTTP requests already ??? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:03 PM Subject: How to use Port 80? Hi Im running Tomcat 4.1.10 on Red Hat 7.3. Im trying to change the port to 80 from 8080. I made the following change in my server.xml From: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / to: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / then I restart Tomcat4 with the Service Configuration utility and I get the following message in the browser when I go to http://localhost An error occured while loading http://localhost/: Could not connect to host localhost Thanks in advance for any help Hal Haig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to use Port 80?
Normally that's the default - Apache (not Tomcat) uses it. Look at httpd.conf , the Listen directive, should read something like 192.168.4.5:80 ie the ip-addr:port In default RH u will find that under /etc/httpd/conf To look at a static list of port assignments : /etc/services I am not sure what u r tyring to do , but I hope that's helpful. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:36 PM Subject: Re: How to use Port 80? not intentionally, how would I know if I did that? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:34:53 -0400 Could you have assigned 80 to HTTP requests already ??? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:03 PM Subject: How to use Port 80? Hi Im running Tomcat 4.1.10 on Red Hat 7.3. Im trying to change the port to 80 from 8080. I made the following change in my server.xml From: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / to: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / then I restart Tomcat4 with the Service Configuration utility and I get the following message in the browser when I go to http://localhost An error occured while loading http://localhost/: Could not connect to host localhost Thanks in advance for any help Hal Haig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to use Port 80?
I looked in /etc/services and found ... ttp80/tcp www www-http# WorldWideWeb HTTP http 80/udp www www-http# HyperText Transfer Protocol ... I'm not sure how got there unless it was just part of RedHat 7.3. Im not running Apache or any other web server. Im trying to use Tomcat4 as my Web server. Should I change /etc/services and if so how? thanks again -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:50:41 -0400 Normally that's the default - Apache (not Tomcat) uses it. Look at httpd.conf , the Listen directive, should read something like 192.168.4.5:80 ie the ip-addr:port In default RH u will find that under /etc/httpd/conf To look at a static list of port assignments : /etc/services I am not sure what u r tyring to do , but I hope that's helpful. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:36 PM Subject: Re: How to use Port 80? not intentionally, how would I know if I did that? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:34:53 -0400 Could you have assigned 80 to HTTP requests already ??? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:03 PM Subject: How to use Port 80? Hi Im running Tomcat 4.1.10 on Red Hat 7.3. Im trying to change the port to 80 from 8080. I made the following change in my server.xml From: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / to: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / then I restart Tomcat4 with the Service Configuration utility and I get the following message in the browser when I go to http://localhost An error occured while loading http://localhost/: Could not connect to host localhost Thanks in advance for any help Hal Haig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to use Port 80?
No, don't change /etc/services because u r waiting for HTTP requests on port 80. That's the default. I cannot help because I have not used Tomcat as a web-server ! Most use Apache as a web server. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:56 PM Subject: Re: How to use Port 80? I looked in /etc/services and found ... ttp80/tcp www www-http# WorldWideWeb HTTP http 80/udp www www-http# HyperText Transfer Protocol ... I'm not sure how got there unless it was just part of RedHat 7.3. Im not running Apache or any other web server. Im trying to use Tomcat4 as my Web server. Should I change /etc/services and if so how? thanks again -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:50:41 -0400 Normally that's the default - Apache (not Tomcat) uses it. Look at httpd.conf , the Listen directive, should read something like 192.168.4.5:80 ie the ip-addr:port In default RH u will find that under /etc/httpd/conf To look at a static list of port assignments : /etc/services I am not sure what u r tyring to do , but I hope that's helpful. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:36 PM Subject: Re: How to use Port 80? not intentionally, how would I know if I did that? -- Original Message -- Reply-To: Tomcat Users List [EMAIL PROTECTED] From: Arthur Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: How to use Port 80? Date: Sat, 21 Sep 2002 23:34:53 -0400 Could you have assigned 80 to HTTP requests already ??? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 21, 2002 11:03 PM Subject: How to use Port 80? Hi Im running Tomcat 4.1.10 on Red Hat 7.3. Im trying to change the port to 80 from 8080. I made the following change in my server.xml From: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / to: Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false / then I restart Tomcat4 with the Service Configuration utility and I get the following message in the browser when I go to http://localhost An error occured while loading http://localhost/: Could not connect to host localhost Thanks in advance for any help Hal Haig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]