-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
On 12/17/18 11:37, Mark Thomas wrote: > On 17/12/2018 16:21, Christopher Schultz wrote: > > <snip/> > >> 16-Dec-2018 11:01:04.189 INFO [main] >> org.apache.catalina.tribes.transport.ReceiverBase.bind Unable to >> bind server socket to:[/<my public ip>:4099] throwing error. >> 16-Dec-2018 11:01:04.190 SEVERE [main] >> org.apache.catalina.tribes.transport.nio.NioReceiver.start Unable >> to start cluster receiver java.net.BindException: Cannot assign >> requested address at sun.nio.ch.Net.bind0(Native Method) [...] >> >> Is that / before the IP address correct? > > Yes. Looking at the toString() implementation it is: > > <hostname/<IP> > > and <hostname> is the empty string if the host name is unknown. > >> The IP address <my public ip> is an IP address that can be used >> to reach this EC2 instance (where I'm running the testing), but >> it's not an IP address held by the actual VM, so that's probably >> the problem. Is there a way to force the "localhost" IP address >> for these tests? It needs to be 10.something. > > That sounds like an explicit setter needs to be added to the unit > test although I haven't dug into exactly what/where. Okay. This unit test does not represent a general problem, then. I'll reply separately with my vote. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlwX1sQACgkQHPApP6U8 pFi6Dw//SHy7ZNVGDtAU8OnF3yFGsfaK/0Kf/be5ozlbRUmyYCE5RJLN14MdzKtf YUGhpHP31IolatYSVHmhR3unLa3dd7UXM0fqMmZ22XL2Zf8TRHjhvIpa5St/1PoK Kf3nR087TK+XRC5m3EdCgQ3DZJusgptVc2HHm+c1tpsD4l2PGr5vDeQBez3xCw4J jMqSyUSeY5SCEnDzG8nuXSapSUbDu4Z4nLXgazCu6hbhhCCcRsCrN0UwmcoA8916 XCHCDHZojLQUg8QLebc+/nODPtEQhntGY5sJKbs2Qatts4FUlmBD3zPdll13Xt4s 7WAp8Q0kMd/GUjwRVoiAcwsMnv2x8cNIh6BPlqrSE87mkN67twQA0Q/Kk41l+3xx uMf94091KqcDUq5Vnk12ZOjx8ndOpBt/uOAPa36EPJHF0yjNike7BcNX+im0HXuY VnJqRIjWNK2SBGuFyHJYBfLCQlQU+bwr/d9oMzqeiD0O+Fpxm/0AhKtNZrt6CLjS p9LSVd+CROJ6pIls3bqUSTBEDJba12L2D9cBMvi1DPtKHRJQT4Mu/YfoHYzKjx4u Y1TOf/qPMF6BKlUw+yNSBZJHLzXkvEZj9V9LqjX80umb34J7gqL85DWwwf9KfYQG 66YfjTrgrBcxtpUoYCnboRU10C2Fnx8l3UzRHqsWgjlmwXi6g5c= =1mNB -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org