-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Alceu,

On 12/21/17 1:36 PM, Alceu R. de Freitas Jr. wrote:
> Hello folks, I'm new to this list, and to Tomcat as well. I was
> trying to get Jenkins and Tomcat running on the same VM that I have
> (with CentOS 7), but I'm struggling with a small issue. Since I
> already had Jenkins running on port number 8080, I decided to
> change Tomcat to listen to 8090 by editing /etc/tomcat/server.xml,
> in the following line: <Connector port="8080" protocol="HTTP/1.1" 
> connectionTimeout="20000" redirectPort="8443" />
> 
> And the change: <Connector port="8090" protocol="HTTP/1.1" 
> connectionTimeout="20000" redirectPort="8443" />
> 
> I soon as I started, I got "BindException: permission denied"
> exception on the catalina log file. If I stop Jenkins daemon and
> change it back to 8080, it works as expected. I even tried to put
> port number "17777", but results were the same. I checked out ports
> in use with netstat, firewall configuration... I got nothing. Since
> I was able to change Jenkins to run on 8090, I'm clueless what is
> happening over there. It seems CentOS is happy letting applications
> to bind to 8080 and 8090, so I'm quite curious why things are not
> working with Tomcat...

I've never seem "BindException: permission denied" when the port
number is above 1024. Are you sure it's the connector port (e.g. 8090)
it's complaining about?

When you try your "other applications" test, are you sure you are
running as the same effective user as the Tomcat process?

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlo8DMMdHGNocmlzQGNo
cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFjxhRAAkkjaL042wtvpQp7G
hcGU8P3Tc8ePfMLjUrwvoRsLGHxAdt4lRF64wm/l9XqTfIDYVXPRRF4kDxHShiFL
ifbNRgYhOVdpmh9J/8oI2iVEW+xKU4edV4sGY+KCr0kAKKk1kno1uASKLH7NKMeV
q9PjKsXfWw5m2uvvyaHxGiHdFG7IGMtxxol/GSwkYWDIiJIiMONg4i3867zhZJce
1/QOmXYAdnu1KAddk1mrXZEYl6wcTm7Skqg3f0/HJ1AuAmEp511c0YCAObPfaSfj
8pEQPgA1e8OmVGbV2p1sBX46dYxFXUn0cGvgAVqs/ZuDwNJhdE0Pc8j1kQz7ylXz
/PQ4WHvcL4rkki21s73kTRudjhRNOBNH7pagXJ5KSiD9Gpz/+/7crlNLEXm2AyzR
uDft7yJD4inMBvshVtrb5FXuuQt8VRJq5a6Ee8GlNhM8Oyk273TUEENM2qnQbFE/
OETVUvJA5HN6PRekVG7KYZ166pbme3hWDEvQ+GnDradAR5ugZq9cuPupW50TwS1m
mwWyG8U2YjSdtvO4AqDlaXHAabwBQLsnQMDVHEElkhUEb9fUqkDiKWFbso/N7Ug8
qebGZpw1CA6ADJoIP83FJH5ebVLpCMKffRZnV7XhqpJyoEtjDJ8FDD0boIgbMMUb
xJIF5szgQ0F9COHwzUkIGbFyT98=
=R1XB
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to