Re: Fwd: tomcat automatically binds it to 0.0.0.0 from 127.0.0.1
Yes, It doesnt happens everytime and cannot reproducable Any guess why this is happening ? On Tue, Jun 20, 2017 at 7:01 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Rakesh, > > On 6/19/17 12:43 AM, Rakesh Java wrote: > > Below is my netstat showing port bindings tcp 0 0 0.0.0.0:1234 > > 0.0.0.0:* LISTEN > > That doesn't show the pid or binary bound to port 1234. > > With this configuration: > > protocol="org.apache.coyote.http11.Http11NioProtocol" > address="127.0.0.1" > secure="false" > URIEncoding="UTF-8" >executor="tomcatThreadPool" /> > > I get a socket bound to 127.0.0.1:8216: > > > tcp6 0 0 127.0.0.1:8217 :::* LISTEN > > 8183/java > > ... but when I use this: > > protocol="org.apache.coyote.http11.Http11NioProtocol" > secure="false" > URIEncoding="UTF-8" >executor="tomcatThreadPool" /> > > > tcp6 0 0 :::8217 :::* LISTEN > > 20591/java > > Environment: > Tomcat 8.5.15 > Oracle Java 1.8.0_101 (most important factor) > Linux kernel 2.6.32 > > I'm not sure why it's not working for you. The Tomcat version > shouldn't matter very much, since everything goes down to the JVM. > > - -chris > > > On Fri, Jun 16, 2017 at 9:55 PM, Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > > Rakesh, > > > > On 6/16/17 5:48 AM, Rakesh Java wrote: > I have made a port( example 1234) to be bound to the local > host 127.0.0.1 .But when i restart tomcat automatically binds > it to 0.0.0.0 . > > > And my connector in server.xml contains 127.0.0.1 as address > . > > address="127.0.0.1" protocol="HTTP ...> > > My Tomcat Version > > Server version: Apache Tomcat/6.0.48 Server built: Dec 12 > 2016 14:06:06 UTC Server number: 6.0.48.0 OS Name: > Linux JVM Version:1.8.0_111-b15 JVM Vendor: Oracle > Corporation > > > > Logs in Tomcat > > May 03, 2017 1:58:19 PM > org.apache.coyote.http11.Http11AprProtocol destroy INFO: > Stopping Coyote HTTP/1.1 on http-127.0.0.1-1234 ... > ... May 03, 2017 1:58:49 PM > org.apache.coyote.http11.Http11AprProtocol init INFO: > Initializing Coyote HTTP/1.1 on http-0.0.0.0-1234 > > Can some one say why this issue is happening ? Best Regards, > Rakesh :-) > > > > Please show the netstat showing your port bindings. > > > > -chris > >> > >> - > >> > >> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: users-h...@tomcat.apache.org > >> > >> > > > -BEGIN PGP SIGNATURE- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAllJI8oACgkQHPApP6U8 > pFgLwQ/9H1GT8TKCfrQtyiDJTxYqzEv6u6O/ZFvub1pqgFGuzPN61qUD+QB8Kl2R > iTM3VoxTYqlH15ZgSV5Roms6l6O9Hw6yZnFG9ooIp7Aerbc7uFJq6y57hmDVf3hd > t8661gYajju4Z00WJ7y7o6SGTWVox6PUz6yyBHKSOpPmGJkN0Nauxiumh2dk9Mcv > xPVAmVyzmIwiU8lb4EehCuYRBhviNxC9YvXjlBQ8sf8lswpEq7D6uH++Ye3LfgW9 > GecW0POSU3CpJM5bk6Rm/Dm9f3UBR9VgnGRxb9v5YGJE2JKZ7/n7p0yHr24I81RE > rTGmA6AThP/nndCFKkc4tOFxDTTNSqXdSCyVrYP21Mgd/Ezx+vZNIN1hDJk3nMlM > S3e95zQHfaZtrfXscSkBhRKq5bUMxK367vv+t649UWlfk+kY1cp93NIWxaTTES1q > 7BU2bl67E0hfTj9XtKcFlUJ9e5BCpB8KXXUai1h9/ZCPW9fGdaOrVIhTrC6cPYPW > 965dxjA+8i+O9suzLSVk/6R185WpKuiRSCsJdRwZt+4buS/8mQ/GmNJwa3mWBRgY > CNBY9JocEagXvMw1j0VGghcs6pJYd3DISur9Q+zRLInkA8cIWWAK+cai8CxmhpO3 > jYiv6j8NmnVOjKlu4XDflOg3jL5D1DCO6QlgQRtlY6uh7Psym7Y= > =KCBo > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Fwd: tomcat automatically binds it to 0.0.0.0 from 127.0.0.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rakesh, On 6/19/17 12:43 AM, Rakesh Java wrote: > Below is my netstat showing port bindings tcp 0 0 0.0.0.0:1234 > 0.0.0.0:* LISTEN That doesn't show the pid or binary bound to port 1234. With this configuration: I get a socket bound to 127.0.0.1:8216: > tcp6 0 0 127.0.0.1:8217 :::* LISTEN > 8183/java ... but when I use this: > tcp6 0 0 :::8217 :::* LISTEN > 20591/java Environment: Tomcat 8.5.15 Oracle Java 1.8.0_101 (most important factor) Linux kernel 2.6.32 I'm not sure why it's not working for you. The Tomcat version shouldn't matter very much, since everything goes down to the JVM. - -chris > On Fri, Jun 16, 2017 at 9:55 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Rakesh, > > On 6/16/17 5:48 AM, Rakesh Java wrote: I have made a port( example 1234) to be bound to the local host 127.0.0.1 .But when i restart tomcat automatically binds it to 0.0.0.0 . And my connector in server.xml contains 127.0.0.1 as address . >>> address="127.0.0.1" protocol="HTTP ...> My Tomcat Version Server version: Apache Tomcat/6.0.48 Server built: Dec 12 2016 14:06:06 UTC Server number: 6.0.48.0 OS Name: Linux JVM Version:1.8.0_111-b15 JVM Vendor: Oracle Corporation Logs in Tomcat May 03, 2017 1:58:19 PM org.apache.coyote.http11.Http11AprProtocol destroy INFO: Stopping Coyote HTTP/1.1 on http-127.0.0.1-1234 ... ... May 03, 2017 1:58:49 PM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-0.0.0.0-1234 Can some one say why this issue is happening ? Best Regards, Rakesh :-) > > Please show the netstat showing your port bindings. > > -chris >> >> - >> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > -BEGIN PGP SIGNATURE- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAllJI8oACgkQHPApP6U8 pFgLwQ/9H1GT8TKCfrQtyiDJTxYqzEv6u6O/ZFvub1pqgFGuzPN61qUD+QB8Kl2R iTM3VoxTYqlH15ZgSV5Roms6l6O9Hw6yZnFG9ooIp7Aerbc7uFJq6y57hmDVf3hd t8661gYajju4Z00WJ7y7o6SGTWVox6PUz6yyBHKSOpPmGJkN0Nauxiumh2dk9Mcv xPVAmVyzmIwiU8lb4EehCuYRBhviNxC9YvXjlBQ8sf8lswpEq7D6uH++Ye3LfgW9 GecW0POSU3CpJM5bk6Rm/Dm9f3UBR9VgnGRxb9v5YGJE2JKZ7/n7p0yHr24I81RE rTGmA6AThP/nndCFKkc4tOFxDTTNSqXdSCyVrYP21Mgd/Ezx+vZNIN1hDJk3nMlM S3e95zQHfaZtrfXscSkBhRKq5bUMxK367vv+t649UWlfk+kY1cp93NIWxaTTES1q 7BU2bl67E0hfTj9XtKcFlUJ9e5BCpB8KXXUai1h9/ZCPW9fGdaOrVIhTrC6cPYPW 965dxjA+8i+O9suzLSVk/6R185WpKuiRSCsJdRwZt+4buS/8mQ/GmNJwa3mWBRgY CNBY9JocEagXvMw1j0VGghcs6pJYd3DISur9Q+zRLInkA8cIWWAK+cai8CxmhpO3 jYiv6j8NmnVOjKlu4XDflOg3jL5D1DCO6QlgQRtlY6uh7Psym7Y= =KCBo -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: tomcat automatically binds it to 0.0.0.0 from 127.0.0.1
Hi Chris, Below is my netstat showing port bindings tcp 0 0 0.0.0.0:1234 0.0.0.0:* LISTEN On Fri, Jun 16, 2017 at 9:55 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Rakesh, > > On 6/16/17 5:48 AM, Rakesh Java wrote: > > I have made a port( example 1234) to be bound to the local host > > 127.0.0.1 .But when i restart tomcat automatically binds it to > > 0.0.0.0 . > > > > > > And my connector in server.xml contains 127.0.0.1 as address . > > > > > address="127.0.0.1" protocol="HTTP ...> > > > > My Tomcat Version > > > > Server version: Apache Tomcat/6.0.48 Server built: Dec 12 2016 > > 14:06:06 UTC Server number: 6.0.48.0 OS Name:Linux JVM > > Version:1.8.0_111-b15 JVM Vendor: Oracle Corporation > > > > > > > > Logs in Tomcat > > > > May 03, 2017 1:58:19 PM org.apache.coyote.http11.Http11AprProtocol > > destroy INFO: Stopping Coyote HTTP/1.1 on http-127.0.0.1-1234 > > ... ... May 03, 2017 1:58:49 PM > > org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing > > Coyote HTTP/1.1 on http-0.0.0.0-1234 > > > > Can some one say why this issue is happening ? Best Regards, Rakesh > > :-) > > Please show the netstat showing your port bindings. > > - -chris > -BEGIN PGP SIGNATURE- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAllEBnMACgkQHPApP6U8 > pFhIVBAAudSGcWGtW1Dld625XlC+r3qnP+uis4xPlHrV5dOtADZ3ITNdVSmLAhEV > bR6E/Hi5JhOBx3P5bjcZwSmvI1717eFVZIqBzQDncXaBQNRjcZ7oEQ4nFCA2f+Y/ > lXKxivugy6Rl+a5XcbY7eJQ7JcUD9rL7takxlrV3Va490P9CTOLZzcGnlt7aeWzS > Wf73tln7xqLxY8II5e5CutbrzT0+HAej/ItZEE5tOZNcq9QADvVjJYuaO0hq1j5r > mkNb9//EfehD0aGJBoZ47OP1UympkBuR/jJ86zaCWsUkvjovX922iw8VEr/8oZSG > K2hvHHkJpu4ITliRA2iWzw5p9EYsx8orqqKEbfRsfWG5Fep9w4Y+bz7hvx6w+NUt > yE21zBjrxh5nipBFwmopoYkHO8ZyH7hoCqNkOtpV2zCcngW4IJxS2nOCyQQKz/MM > d48+vWbDi6xMrb79l+mpGookMSA3Eie+sxmvS5/pKHY2G1r+QtJzGoR3UemPzzVr > gzbEJ/AKyYhNrpDObWw3GlNZGCXjsgnDnvRGnDmZXQ1Ajj+7kv0TUirltMzJnGUO > iagg9AcoAWa5VXkAcZBIecn2CK/klDIPgcassq9cb5PoJwIA2rh9/iSSsvBuh6sQ > ne/bWQxBbaQAjzqCjncijqvPziR7vW/soIray4e3fiix9pgC3Fs= > =x5df > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Fwd: tomcat automatically binds it to 0.0.0.0 from 127.0.0.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rakesh, On 6/16/17 5:48 AM, Rakesh Java wrote: > I have made a port( example 1234) to be bound to the local host > 127.0.0.1 .But when i restart tomcat automatically binds it to > 0.0.0.0 . > > > And my connector in server.xml contains 127.0.0.1 as address . > > address="127.0.0.1" protocol="HTTP ...> > > My Tomcat Version > > Server version: Apache Tomcat/6.0.48 Server built: Dec 12 2016 > 14:06:06 UTC Server number: 6.0.48.0 OS Name:Linux JVM > Version:1.8.0_111-b15 JVM Vendor: Oracle Corporation > > > > Logs in Tomcat > > May 03, 2017 1:58:19 PM org.apache.coyote.http11.Http11AprProtocol > destroy INFO: Stopping Coyote HTTP/1.1 on http-127.0.0.1-1234 > ... ... May 03, 2017 1:58:49 PM > org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing > Coyote HTTP/1.1 on http-0.0.0.0-1234 > > Can some one say why this issue is happening ? Best Regards, Rakesh > :-) Please show the netstat showing your port bindings. - -chris -BEGIN PGP SIGNATURE- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAllEBnMACgkQHPApP6U8 pFhIVBAAudSGcWGtW1Dld625XlC+r3qnP+uis4xPlHrV5dOtADZ3ITNdVSmLAhEV bR6E/Hi5JhOBx3P5bjcZwSmvI1717eFVZIqBzQDncXaBQNRjcZ7oEQ4nFCA2f+Y/ lXKxivugy6Rl+a5XcbY7eJQ7JcUD9rL7takxlrV3Va490P9CTOLZzcGnlt7aeWzS Wf73tln7xqLxY8II5e5CutbrzT0+HAej/ItZEE5tOZNcq9QADvVjJYuaO0hq1j5r mkNb9//EfehD0aGJBoZ47OP1UympkBuR/jJ86zaCWsUkvjovX922iw8VEr/8oZSG K2hvHHkJpu4ITliRA2iWzw5p9EYsx8orqqKEbfRsfWG5Fep9w4Y+bz7hvx6w+NUt yE21zBjrxh5nipBFwmopoYkHO8ZyH7hoCqNkOtpV2zCcngW4IJxS2nOCyQQKz/MM d48+vWbDi6xMrb79l+mpGookMSA3Eie+sxmvS5/pKHY2G1r+QtJzGoR3UemPzzVr gzbEJ/AKyYhNrpDObWw3GlNZGCXjsgnDnvRGnDmZXQ1Ajj+7kv0TUirltMzJnGUO iagg9AcoAWa5VXkAcZBIecn2CK/klDIPgcassq9cb5PoJwIA2rh9/iSSsvBuh6sQ ne/bWQxBbaQAjzqCjncijqvPziR7vW/soIray4e3fiix9pgC3Fs= =x5df -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Fwd: tomcat automatically binds it to 0.0.0.0 from 127.0.0.1
Hi I have made a port( example 1234) to be bound to the local host 127.0.0.1 .But when i restart tomcat automatically binds it to 0.0.0.0 . And my connector in server.xml contains 127.0.0.1 as address .
Fwd: tomcat automatically binds it to 0.0.0.0 from 127.0.0.1
Hi I have made a port( example 1234) to be bound to the local host 127.0.0.1 .But when i restart tomcat automatically binds it to 0.0.0.0 . And my connector in server.xml contains 127.0.0.1 as address .