VMware Communities
johnford2011101
Contributor
Contributor

could someone help me to connect to my virtual machine localhost....

hello every body..

ok here is the deal ... am all new by the virtual machine thing .. so i dont know any thing about it ... also nothing about the networking thing im just "php friendly"

i have windows 7 on my laptop ( host)

and i have centos 5 on the virtual machine (guest or what ever)

so i have installed apache and stuff for web development on the centos ( which is on the vertual machine ) ...

so all i want to do is access the localhost on my virtual (which is the centos ) machine through the hosts machine (my windows 7 ) ..

could some one help me please with a step by step configration..

thanks in advance...Smiley Wink

0 Kudos
13 Replies
DSTAVERT
Immortal
Immortal

You have installed vmware Server 1 on the Windows laptop. How do you want to access it? You should be able to use an SSH client like putty on the Windows machine. Did you use bridged networking?

Before you get too far I will say that vmware Server 1 is long past end of life and vmware Server 2 is end of life. There has been no development ot upgrade in some time. I would look at installing vmware Workstation or vmware player in place of server.

-- David -- VMware Communities Moderator
0 Kudos
johnford2011101
Contributor
Contributor

sorry if i did explane it in a wrong way but i have vmware workstation and i want to use it as a server

thanks for your replay

0 Kudos
DSTAVERT
Immortal
Immortal

Moving to the vmware Workstation Forum.

-- David -- VMware Communities Moderator
0 Kudos
johnford2011101
Contributor
Contributor

sorry didnt notice that :smileysilly: ... thanks for your help

0 Kudos
DSTAVERT
Immortal
Immortal

Make sure you have set up networking as Bridged. That will expose the Virtual Server to the rest of your local network.

-- David -- VMware Communities Moderator
0 Kudos
johnford2011101
Contributor
Contributor

done that before but how can i reach it ..

0 Kudos
WoodyZ
Immortal
Immortal

done that before but how can i reach it ..

The same way you'd reach any other computer on the network, by its IP Address.

Also you should not give the VM more then 2 virtual CPU.

0 Kudos
johnford2011101
Contributor
Contributor

thanks for the cpu thing

but about the ip could you explane more

sorry iknow that i dont know any thing about this subject... thats why im asking

0 Kudos
WoodyZ
Immortal
Immortal

No offence intended however how can you do web development and not have a basic understanding of networking? Smiley Happy

If I want to access VMware's Web Site then in a Browser I type http://www.vmware.com or I could use its IP Address like http://165.193.233.120 so what is the IP Address of the CentOS VM that has the Apache Server running on it?  You'd use: http://CentOS_VM_IP_Address

0 Kudos
johnford2011101
Contributor
Contributor

non taken .. but i think you got that wrong ...

i mean like when i try to connect through my ip adress it says connection timed out

0 Kudos
WoodyZ
Immortal
Immortal

I didn't get it wrong!!!  You didn't state the real issue!

0 Kudos
WoodyZ
Immortal
Immortal

System > Administration > Server Settings > Services

Under Background Services is httpd checked and under Status does it say  "httpd (pid #) is running..."?

System > Administration > Security Level and Firewall

Under Trusted services: is WWW(HTTP) checked?

With a clean built CentOS 5 VM and the above settings if I use the IP Address of the CentOS VM from a Browser on the Host I see the following:

CentOS_Web_Server_Test.png

0 Kudos
johnford2011101
Contributor
Contributor

thanks for your help really really thank you

and yeah it was the fire wall

and please forgive my ignorance

0 Kudos