VMware Communities > VMTN > Archives > Beta Archives > Server 2.0 RC2 [LOCKED] > Installation and Upgrade [LOCKED] > Discussions

This Question is Answered

14 Replies Last post: May 16, 2008 11:01 AM by timeshell

VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1"

May 5, 2008 7:50 AM

Click to view tlaurent's profile Enthusiast tlaurent 30 posts since
Jun 3, 2005
I've got CentOS 5 Desktop installed and thought I try VMware Server 2 Beta 2. The install appeared to go normally but when I go to access the VI Web Console I get "Firefox can't establish a connection to the server at 127.0.0.1". I've tried uninstalling and reinstalling but get the same result. Any suggestions?
Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 5, 2008 10:12 AM
Click to view Paul Thomas's profile Master Paul Thomas 860 posts since
Dec 30, 2007

Have you tried using the machine name rather than the local host ip? Windows will not work with local host, interestingly ubuntu will. I use the following url to connect

https://vista-q6600:8333/ui/

Also remember to open ports 902,8222 & 8333 on your firewall to allow remote connections to work.

Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 5, 2008 5:09 PM
Click to view tlaurent's profile Enthusiast tlaurent 30 posts since
Jun 3, 2005
Paul,

Thanks for the response! I actually I am not using Windows to manage the host but am actually trying to manage it directly from the Linux desktop (I'm actually running X windows and Firefox runs locally on the same box VMware Server is on). I did try to use the host name and also the IP address for eth0 but neither worked. I have disabled IP6 and the firewall for IP4. Hope that clarification helps! :)
Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 6, 2008 5:37 AM
in response to: tlaurent
Click to view Paul Thomas's profile Master Paul Thomas 860 posts since
Dec 30, 2007
Is the OS running firefox 64bit?
I don't know if this holds true for beta 2 , but in beta 1 I could not get the console to open when using either firefox or IE on a 64bit os. I ended up using my laptop running xp pro 32 bit. Both firefox and IE worked from there.
Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 6, 2008 5:43 AM
in response to: Paul Thomas
Click to view tlaurent's profile Enthusiast tlaurent 30 posts since
Jun 3, 2005
32bit. I recall that I was able to get VMware Server 2 beta 1 working and then I reimaged the box (I may have been running CentOS Server at that time rather than Desktop). Maybe I should reimage again with CentOS Server - although I can't image why that would make a difference?
Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 13, 2008 6:34 AM
in response to: tlaurent
Click to view tlaurent's profile Enthusiast tlaurent 30 posts since
Jun 3, 2005
Well, I decided to forgo CentOS and switched to openSUSE. I did the install again using the .gz rather than the .rpm and it worked fine until the first reboot - now it can't connect. So it sounds like the issue may have been something to do with the .rpm file specifically on Centos but there may be a different issue with openSUSE.
Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 13, 2008 8:33 PM
Click to view dalekstomper's profile Lurker dalekstomper 1 posts since
May 13, 2008

I've spent the last 6 hours installing and messing with VMWare, gone are the days of ease of use I think. I can run the configuration, but it fails to mention why its asking for all the networking info, i.e. its own webservices. right now doing http://localhost just brings up the default page for apache, should this not bring up VMware's login page ? the documentation for the server doesn't mention enough detail. does any one yet know how this thing is supposed to work ? i'm already thinking of ditching it and trying 1.04 again which didn't need a web interface to add a layer of crud.
Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 14, 2008 5:11 AM
in response to: dalekstomper
Click to view tlaurent's profile Enthusiast tlaurent 30 posts since
Jun 3, 2005
Dalekstomper,

You are correct, localhost should go to the VMware Server webpage. Odd thing it worked for me the first time I installed using the tar package under openSUSE but then failed after rebooting. Did you install from the tar or rpm? What distro do you use?

Its good to know this is not me just being dense ;)

Thanks!
Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 15, 2008 3:41 AM
Click to view dimwitted_bastard's profile Novice dimwitted_bastard 8 posts since
May 15, 2008
It seems it's something that's happening across most OSes.

I'm on Fedora 8 and just recently upgraded to the Beta. After installation, I was able to access the VI Web Access page using "http://localhost/" under firefox v2.0.0.14 but then my desktop theme manager crashed after resizing the console window so I had to shut down everything and restart.

After reboot, I tried to access the VI Web Access page again but am getting an "Unable to Connect" error message. I checked under services and I can see vmware services were started and running. I also checked under the on demand services and xinetd for vmware-authd is running.

I'm thinking of running the httpd services and just using the docroot directory of my vmware installation as a subfolder and see if it runs that way, but there should be another way to do this.
Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 15, 2008 5:42 AM
in response to: dimwitted_bastard
Click to view tlaurent's profile Enthusiast tlaurent 30 posts since
Jun 3, 2005
Interesting, thanks!

Please post your results, that sounds like a viable workaround.
Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 15, 2008 10:10 AM
in response to: tlaurent
Click to view evan_1's profile Enthusiast evan_1 20 posts since
Nov 5, 2007
Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 16, 2008 6:03 AM
in response to: tlaurent
Click to view dimwitted_bastard's profile Novice dimwitted_bastard 8 posts since
May 15, 2008
Hi,

I mistakenly posted this in some other thread but here goes:


All I had to do was stop and restart the vmware services
(system>>administration>>services under Fedora 8) after I
logged in to be able to access Web Management. Found out about it
accidentally when I ran the vmware-config again to see if it solved the
problem and saw it stopping and starting the same service.


Experimented first by stopping and starting xinetd but that didn't change anything.


I never noticed the host being stopped after I reboot but apparently it had stopped.


I'm trying to see if this has anything to do with the fact that I still have IPv6 enabled on my machine.


Now, I'm also trying to experiment with the httpd service if it will
allow me to start the same thing if I add the docroot as a subfolder.
I'm only trying this out for people who have the httpd service enabled
by default and therefore gets the test page when they try to open
"http://localhost".

It would be great if we could somehow find what's causing the host
services to stop or why we still need to stop and restart the vmware
services after reboot.


We could create a startup script stopping and starting the service.

edit: for windows users there should be a service under winXP (or most NT based windows flavors) called VMware host services or something that would stop and needs restarting.

Update:


IPv6 is not the culprit. I've disabled it (including the ipv6 firewall service and removing the ::1 entry in /etc/hosts) but still get the same results after reboot. Looks like stopping and starting the vmware service is the only way to get this working for now. Will still mess around with this some more.


Am currently trying another work around for machines with httpd enabled since web management interface is using the same port (80) to publish pages. messing around with the vmware config file. wish me luck.

Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 16, 2008 8:56 AM
in response to: dimwitted_bastard
Click to view tlaurent's profile Enthusiast tlaurent 30 posts since
Jun 3, 2005
db - Sounds like we are making progress...

If there is anyone out there who doesn't know, restarting the service can be done using this command on any version of Linux from a terminal window (not sure if syntax is generic)


service vmware --full-restart

for me - this fixed the problem, even after a reboot!

evan - FYI : The webpage error on my machine does NOT say anything about SELinux blocking access - but that is good find. Thanks!

Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 16, 2008 8:14 AM
in response to: tlaurent
Click to view evan_1's profile Enthusiast evan_1 20 posts since
Nov 5, 2007

Darn, i figured!

Thought i'd post it anyway :p

Re: VMware Server 2 Beta 2 under Linux - "Firefox can't establish a connection to the server at 127.0.0.1" May 16, 2008 11:01 AM
Click to view timeshell's profile Lurker timeshell 1 posts since
May 16, 2008

Open the /etc/services file and in numerical order add the following line.

vmware-authd 902/tcp # VMWARE REMOTE


Actions