If you used this installer: "Apache Solr for TYPO3", you can change the address in the file server.xml
.
The The default points to localhost, so look for 127.0.0.1 and change it into the IPv4-address you want.
Don't Don't forget to restart Tomcat6 for the changes to take effect.
UPDATE, 20120521
UPDATE, 20120521
See my comment below on how to disabedisable IPv6 on Ubuntu 11.10.
I have succesfullysuccessfully tested this on a Virtualbox-VM on my Mac.
The The address for the connector port 8080 has been changed from 127.0.0.1 to 0.0.0.0 in server.xml
.
Then
Then disabling IPv6 makes the "tcp6" to go away, so it's binded to an IPv4-only address.
Before / with IPv6 enabled:
# netstat -anp | grep 8080 tcp6 0 0 :::8080 :::* LISTEN 1972/java
# netstat -anp | grep 8080
tcp6 0 0 :::8080 :::* LISTEN 1972/java
After / IPv6 disabled:
# netstat -anp | grep 8080 tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2045/java
# netstat -anp | grep 8080
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2045/java