Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a tomcat webapplication running on 8080 which will fetch xml from another application at 4040, both running on a xp machine. Everything was working fine until I installed IPv6. Now I cannot access the application from tomcat.

What I find strange is that the xml can be viewed using browser, but the same url does not work when used by the tomcat application. I get a ConnectionException. Changing the value to ipv4, 127.0.0.1 did not work either.

Trying to access the application from another machine did not work either.

Does anyone know whats going on here?

Please help.

share|improve this question

migrated from stackoverflow.com May 26 '11 at 19:30

This question came from our site for professional and enthusiast programmers.

1 Answer 1

It's the APR listener. If you don't need it, remove tcnative1.dll or change server.xml to not load it.

I'm pretty sure there must be a way to force it to listen on ipv4 as well, but by default it only listens on ipv6 if ipv6 is installed.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.