You need to have them on the same subnet, or have a routed path between the subnets they are on if they are different. I'm more familiar with VirtualBox networking than VMWare, but a "bridged" type connection to your real network card should put them on your local, real LAN, they should get IPs from your dhcp server, etc. An "internal only" or "host only" should let them see each other, and possibly your host machine as well.
Additionally, make sure the webserver is listening on the LAN IP and not just localhost
Once all of this is done, then http://ip.of.mach.ine1 should get you there, add a non-default port to the URL if needed.