Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a web application running on an ubuntu vmware server, that is configured to be a NAT, I can access it via the host computer (the one that runs the vmware instance), but have no idea on how to access it from the outside world.

I tried using the host ip, such as: 84.111.111.111:3000 but to no avail (it runs on port 3000)

share|improve this question

migrated from webmasters.stackexchange.com Nov 9 '11 at 23:52

This question came from our site for pro webmasters.

1 Answer 1

up vote 1 down vote accepted

It is inaccessible from the outside because your guest (vmware instance) is running on a separate network "behind" your host's IP address. This is, by definition, NAT. You have 2 options:

  1. Port forwarding on the host. You can forward port 3000 on your host to your guest. You can do this using iptables or similar.

  2. Use Bridge network configuration instead of NAT. In this case, the guest can be given an IP address that is on the same subnet as the host. Thus, the guest will be accessible like any other machine on the network.

share|improve this answer
    
Will give it a try. thanks! –  soulSurfer2010 Nov 10 '11 at 15:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.