-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Luigi,
On 3/24/16 3:46 PM, Luigi Suardi wrote: > Hi Chris. > > You are right. After opening a dedicated port for my Tomcat > instance all is working fine. My servlet code (Jersey resources and > ServerEndpoints) does not reference any port. Client code uses > window.location.host and picks up any port from the URL. Only > drawback is that the URL users enter in the browser contains the > port. Apparently, the hosting provider does not want to enable > websocket traffic through the front end redirectors and web > servers, which I think are Apache web servers. The dedicated port > does the trick and enables WS only for my Tomcat instance. You can always offer a "regular" URL (without port) that redirects to the URL with a port. It will make it easier for your users but have no other real effect. - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlb1RsQACgkQ9CaO5/Lv0PDz8gCgkYZWYPlhK2ijEgvmetWyHJKH Z08AoIs9A5wQyheoVdBNfaQ1AZN388Mc =LN7b -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org