I am installing confluence on a CentOS 7 vm in VM Fusion. I cannot test "localhost:8090" since there is no browser on the VM. How do I edit server.xml to allow for connection from a different computer for initial setup?
Adding "-Djava.net.preferIPv4Stack=true" to the end of the first Java prefix line in %install%/bin/setenv.sh fixed this issue in combo with "iptables -F" which flushed the local fw rules. I will need to add rule for after reboot. Thank you for the help!
You don't. Server.xml is only telling it what port to listen on. How other computers get to that port is up to your network.
localhost is always "this computer". Your VM has another IP address it exposes to your network, so replacing localhost with that IP address means "go to that VM". You can then use DNS to give it a name. All you need to do is tack :8090 to the end of the ip or name to get to Confluence. ( I suspect you're already accessing it with something like "ssh Robert@ourserver.ournetwork" - try browsing to http://ourserver.ournetwork:8090)
Ah, ok, it's using IPv6. I half-answered that on your other question (sorry - I didn't realise it was the same person!).
I say half because all I've got there is a workaround - you'll be able to use CentOS 7, forced to use IPv4 (actually, just the Tomcat running Confluence will use it). But Confluence ought to work on IPv6 and I don't know why it messes up like this. Oddly, I got a different error, but I suspect it was compounded with SSL, so I was getting better error messages!
tried on Chrome private, firefox and safari. No dice.
I can ssh to box, that is fine.
I do look carefully at netstat -an | grep LIST and see that it is:
tcp6 0 0 :::8090 :::* LISTEN
Not sure how to make CentOS 7 force it to regular ipv4. Should I just dump CentOS 7 and go back to 6?
I can connect on localhost now, but still cannot get the server to respond from another host.
$ netstat -na | grep LIST
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8090 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 ::1:25 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
$ nc 127.0.0.1 8090
GET / HTTP/1.0
HTTP/1.1 302 Found
Date: Tue, 29 Jul 2014 17:33:01 GMT
Hi Community! 2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs