Listening only on local IPv6 address - Klaros Test Management - Forum - Klaros-Testmanagement
Listening only on local IPv6 address
Robert Gröber, geändert vor 11 Jahren.
Listening only on local IPv6 address
Youngling Beiträge: 14 Beitrittsdatum: 21.05.10 Neueste Beiträge
Hello
i've installed Klaros in a virtual machine (Ubuntu Linux) and could successfully connect to Klaros from this machine.
But when I tried to open Klaros from any other machine I can into an timeout.
So Ive checked applications listening on ports by: natstat -tln
tcp6 0 0 :::18080 :::* LISTEN
So Klaros only seems to listen on the IPv6 network. Since IPv6 is not available over all subnets, I cant connect to Klaros.
Is it possible to confiure Klaros only to listen on IPv4 address?
Thanks
robig
i've installed Klaros in a virtual machine (Ubuntu Linux) and could successfully connect to Klaros from this machine.
But when I tried to open Klaros from any other machine I can into an timeout.
So Ive checked applications listening on ports by: natstat -tln
tcp6 0 0 :::18080 :::* LISTEN
So Klaros only seems to listen on the IPv6 network. Since IPv6 is not available over all subnets, I cant connect to Klaros.
Is it possible to confiure Klaros only to listen on IPv4 address?
Thanks
robig
Robert Gröber, geändert vor 11 Jahren.
RE: Listening only on local IPv6 address
Youngling Beiträge: 14 Beitrittsdatum: 21.05.10 Neueste Beiträge
Ok, maybe it isnt a port/address issue.
I can connect from localhost. But even when I try to connect via IP from the virual machine to it self, I'm getting 400 Bad Request error:
I can connect from localhost. But even when I try to connect via IP from the virual machine to it self, I'm getting 400 Bad Request error:
test-ubuntu:/opt/klaros$ wget --no-proxy -O - http://10.40.21.62:18080/klaros-web | |
--2010-05-21 11:49:35-- http://10.40.21.62:18080/klaros-web | |
Connecting to 10.40.21.62:18080... connected. | |
HTTP request sent, awaiting response... 400 Bad Request | |
2010-05-21 11:49:35 ERROR 400: Bad Request. |
Heiner Westphal, geändert vor 11 Jahren.
RE: Listening only on local IPv6 address
Youngling Beiträge: 13 Beitrittsdatum: 02.03.09 Neueste Beiträge
I get HTTP 400 only, if I set application.url in the file
$HOME/.klaros/klaros.properties
but use another URL to connect.
Did you configure an application URL?
Regards,
Heiner Westphal
$HOME/.klaros/klaros.properties
but use another URL to connect.
Did you configure an application URL?
Regards,
Heiner Westphal
Robert Gröber, geändert vor 11 Jahren.
RE: Listening only on local IPv6 address
Youngling Beiträge: 14 Beitrittsdatum: 21.05.10 Neueste Beiträge
Ive tried to set that property but didn't work 
Same issue as before.
I've installes Klaros on Windows XP and it works perfectly there. But its not a good idea to let the windows testmachine provide that service. Its only for client tests and not powered on all day.

Same issue as before.
I've installes Klaros on Windows XP and it works perfectly there. But its not a good idea to let the windows testmachine provide that service. Its only for client tests and not powered on all day.
Heiner Westphal, geändert vor 11 Jahren.
RE: Listening only on local IPv6 address
Youngling Beiträge: 13 Beitrittsdatum: 02.03.09 Neueste Beiträge
If the application.url property is unset, it should work regardless which url you use (as long as it leads to
the tomcat running klaros that is).
It might indeed be an issue related to tomcat and IPv6.
I currently have no linux box with ipv6 enabled around so I cannot check this right now.
If you don't need IPv6 you might test if your klaros-setup works with IPv6 disabled:
A quick search supplied some ways to accomplish that.
Ubuntu-Forums: Disable IPv6
looks most promising to me.
Best Regards,
Heiner Westphal
the tomcat running klaros that is).
It might indeed be an issue related to tomcat and IPv6.
I currently have no linux box with ipv6 enabled around so I cannot check this right now.
If you don't need IPv6 you might test if your klaros-setup works with IPv6 disabled:
A quick search supplied some ways to accomplish that.
Ubuntu-Forums: Disable IPv6
looks most promising to me.
Best Regards,
Heiner Westphal
Robert Gröber, geändert vor 11 Jahren.
RE: Listening only on local IPv6 address
Youngling Beiträge: 14 Beitrittsdatum: 21.05.10 Neueste Beiträge
Geat! That solved the problem! Thank you, Heiner!
(I've used http://www.ubuntugeek.com/how-to-disable-ipv6-in-ubuntu.html)
(I've used http://www.ubuntugeek.com/how-to-disable-ipv6-in-ubuntu.html)
Torsten Stolpmann, geändert vor 11 Jahren.
RE: Listening only on local IPv6 address
Jedi Council Member Beiträge: 768 Beitrittsdatum: 12.02.09 Neueste Beiträge
Robert,
please note that http://10.40.21.62:18080/klaros-web is actually not the correct URL to connect, please use a slash at the end (http://10.40.21.62:18080/klaros-web/). Modern browsers add this silently so the former URL will work from there as well, but wget will take the raw URL as specified.
Hope this helps.
Regards,
Torsten
please note that http://10.40.21.62:18080/klaros-web is actually not the correct URL to connect, please use a slash at the end (http://10.40.21.62:18080/klaros-web/). Modern browsers add this silently so the former URL will work from there as well, but wget will take the raw URL as specified.
Hope this helps.
Regards,
Torsten