How can I connect to my webserver VM from the outside?

I'm sure that there is an easy solution for this, but I searched without success.

I run a Web server on FreeBSD in Fusion, and my Mac uses DHCP (static address can come in time).

My VM (fusion 2.0.1) is connected through NAT, I also use my Mac as a local server for testing, but only to listen on 127.0.0.1

Here's my question simply:

My FreeBSD runs Apache and is set up to serve the site (example.com, say) and DNS settings are all up to date. (I know that the BSD Web server works fine because I can connect from Safari using the merger IP address directly).

Now if from the outside (you, for example), type http://example.com/ in your browser, connect to my Mac via port 80 and Apache on my Mac will attempt to server web page. But what I really want, it's demand to go on the virtual machine without going through the Mac. (In analogies, there is a setting that allows some ports go 'on' the virtual machine, but merging doesn't seem to have it - I promise to change the merger, because it works best with FreeBSD).

So in short:

How to configure my machine Virtual Port 80, rather than the Mac doing listening to?

MacGruder says:

So in short: How do I set up my VM to Port 80, rather than the Mac doing listening to?

I introduce it more as a proof of concept, then a full step by step guide because there are many variables and you did not really a complete topology of your local network and other relevant information to be explicit and accurate on a total scope of the project.

Good on my MBP without Apache running in OS X and a Virtual Machine of defined merger on NAT with Apache running on the client, I modified the nat.conf and reset the VMware network and was able to directly access Web Server of the customer from another physical Machine on my local network.

OS X host IP address: 192.168.1.100

Merge comments NAT IP address: 172.16.172.128

Another physical Machine on the LAN IP address: 192.168.1.3

Named Fusion comments: webtest

Installed the Apache server in comments and editing the web page by default so you can be sure I look what I expect to be looking at and not the host content of the Apache server.

Stop and closed Fusion comments

Edited "/ Library/Application Support/VMware Fusion/vmnet8/nat.conf" and added 80 = 172.16.172.128:80

Restarted network VMware with: sudo "/ Library/Application Support/VMware Fusion/boot.sh"-restart

Open fusion and began comments

Editing another physical Machine on the LAN hosts file to add: 192.168.1.100 webtest webtest.com www.webtest.com

Browser open on another physical Machine on LAN and typed http://www.webtest.com

Now, I'm looking at the modified Apache file index.html.en default server prompt so it allows me to know that I can access a Web server on the Guest NATed through the Port 80 of the host of another system other then the host.

Notes:

Personal firewall should of course be properly defined to allow connectivity between the systems.

If you what the outside world can then access if your host doesn't have a static IP address, then you will need to use a form any Dynamic DNS on the host computer.

It is in any case just to let you know it is possible and it's just one of the ways of May to go on this subject and without all the relevant information, I don't have the time to enter in other scenarios.

Hope that helps!

Post edited by: WoodyZ

Added the second - to - restart

Tags: VMware

Similar Questions

  • How can I delete several clips at once from the timeline

    How can I delete several clips at once from the timeline?

    Thanks, Dan

    Shift-click or command-click to select if they are contiguous. Then press the delete key.

    Or select them and use the keyboard shortcut command + X.

    Or select them in the Index of the Timeline and use the key DELETE or command + X.

    Russ

  • How can I get WIndows8 TouchSmart to boot from the recovery disc

    How can I get WIndows8 TouchSmart to boot from the recovery disc? With the recovery in the drive disk when I do a reboot or stop and start it does not read anything from the DVD player. My computer is a HP TouchSmart 23-D160QD.

    @AirForce9731,

    You may need to change the boot order to boot from the DVD drive first.  The steps to do this are in the document below.

    http://support.HP.com/us-en/document/c00364979

    These are recovery disks made by the recovery discs sent by HP?  They will not work in a different system (you will receive an error message), but you are able to get the boot floppies in a different system?  They should be able to start up to a point where the error message will be displayed.

  • I have photoshopCC, but some how I get pop ups saying that my path for cs6 is expires, and then I buy and get a licience no, well I have not because I have a year of photoshop and lightroom CC. How can I get rid of this message from the trial please my

    I have photoshopCC, but some how I get pop ups saying that my path for cs6 is expires, and then I buy and get a licience no, well I have not because I have a year of photoshop and lightroom CC. How can I get rid of this message from the Marie trial please

    Go to Photoshop forum

  • I use CS5.1 and installed a new hard drive. during the migration, PS now will not work. How can I reinstall? installation initial performed from the internet, no discs.

    I use CS5.1 and installed a new hard drive. during the migration, PS now will not work. How can I reinstall? installation initial performed from the internet, no discs.

    Download the CS5 products

  • How can I sync 2 sony AVCHD images from the camera on the "date" as a prelude and import it in first pro?

    I have 2 sony camera popular with the AVCHD file structure. The two cameras are the same. How can I sync 2 sony AVCHD images from the camera on the "date" as a prelude and import it in first pro? Im working with 6.0


    Now I see the date taken in the import screen until I click "ingest". When in the trash, this option is there, but no metadata in there. It is therefore impossible to import images from two cameras and have these sorted.


    How can I get this sorted out before, so I can export for the first?

    Thank you. Tom van den Dool

    Hi Tom,

    How can I sync 2 sony AVCHD images from the camera on the "date" as a prelude and import it in first pro? Im working with 6.0.

    Sorry, you can not do as a prelude. You can request a feature here: http://adobe.ly/feature_request

    Thank you

    Kevin

  • How can I configure my computer to boot from the CD Rom drive

    I have Windows 7 home version and I have a problem with booting from the cd rom.  I did a cd bootable for a work at home job, but it will not work properly.  It works fine on the desktop of my sister, but not my laptop.  What is happening is the CD loads when I restart my computer, but then it goes to a black screen and just stays there until I have eject the CD.  I can hear the CD running, but I get nothing after the initial splash screen.  I have reset the bios to make sure that the CD-Rom was placed up in the boot parameters.  Any ideas why this CD will not completely loaded?  Thanks for any help you can give.

    Gayle

    Please note, in order to install Windows 7, you must have a DVD player, if you have a CD-ROM drive, which will not work.

    To learn how to change your BIOS options to boot from the DVD drive, the following tutorial:

    http://notebooks.com/2011/05/05/How-to-load-BIOS-and-change-boot-configuration/

  • How can I connect to a SSID other thaan the one I am currently connected to?

    I used Mozilla to connect to an SSID, I don't remember how I did it, but I must now put in place a new SSID. How can I do this? Or how I simply let Windows XP handle this without using Mozilla? If I uninstall Mozilla by using Control Panel, Windows will be able to operate as it always does?

    Hello Paul52339, the connection to a wifi hotspot is managed entirely by your operating system - your browser is not involved in this: http://support.microsoft.com/kb/929563

    Please also Update firefox to the latest version as soon as possible - you are using a version obsolete affected by many known security vulnerabilities that will put the integrity of your system and your personal data at risk!

  • How can I connect to my database externally from another pc on the network?

    Hi all

    I just install 12 c on my Oracle Linux box and I am able to connect locally to the database, as intended. Now, what would be the first step to connect to my external database from another computer on the network. By example, if the database server is 10.0.0.150 and I want to connect to 10.0.0.151 how can I make this happen? If necessary here are a few references:

    -bash-4, $ 2 cat listener.ora

    listener.ora # Network Configuration file: /ora01/app/oracle/product/12.1.0/db_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oranode1.dba.com) (PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    )

    -bash-4, $ 2 cat tnsnames.ora

    tnsnames.ora # Network Configuration file: /ora01/app/oracle/product/12.1.0/db_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    ANTHONYDB =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oranode1.dba.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = anthonydb)

    )

    )

    -bash-4, $ 2 cat/etc/hosts

    127.0.0.1 oranode1 oranode1.dba.com localhost4 localhost4.localdomain4

    : 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

    10.0.0.150 oranode1.dba.com oranode1

    Let me know if you need any information. Currently, I am not able to connect to my database using the IP and port (10.0.0.150, 1521) of my 10.0.0.151 pc. Thank you all for your help in advance.

    Hello EdStevens,

    I tried to use the SID with SID = anthonydb and I got the same error message. I believe that we must resolve before listener troubleshoot us this error...  If we look at the file of the listener:

    [oracle@oranode1 admin] $ cat listener.ora

    listener.ora # Network Configuration file: /ora01/app/oracle/product/12.1.0/db_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oranode1.dba.com) (PORT = 1521))

    )

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.150)(PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / ora01/app/oracle

    I have two entries, and I think that I should remove the last entry:

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.150)(PORT = 1521))

    )

    I created a backup of the file listener and I'm going to give it a shot.

  • How can I get thunderbird to delete messages from the server

    When Thunderbird gets mail from the server, I want that he deleted from the server. How can I do this?

    The Menu bar, select Settings Server Tools-account settings

    Check the boxes that work for you.

    No menu bar display? Press the ALT key.

  • If I do not have a windows vista sp2 install disk how can I erase all programs and files from the laptop?

    I would remove ALL of my laptop which is running vista Sp2 and I have not a disk to install it from what can do?

    Hello

    Here are the different ways to reinstall Vista

    Contact the manufacturer of the laptop computer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it

    they do it for a nominal cost of $

    ____________________________________________________________

    also ask them if you have a recovery partition on your hard drive to get back to the way you bought

    you would normally press F8, F9, F10 or F11 or Alt + F10 or 0 to start to start the recovery process according to the manufacturer

    Ask them of the exact key sequence

    __________________________________________________________

    or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc

    Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer

    they contain all versions of vista

    This is the product key that determines which version of vista is installed

    http://www.theeldergeek.com/Vista/vista_clean_installation.html

    ____________________________________________________________

    How to replace Microsoft software or hardware, order service packs and replace product manuals

    http://support.Microsoft.com/kb/326246

  • How can I return a normal dynamic object from the library (cloud symbol) to a smart object

    I only change my dynamic in Illustrator (via double klick) object when it is not in the library.

    Unfortunately, I did not know that from the beginning and now I have a few documents where all the objects are in the library and can't do em to open in Illustrator.

    When you paste from Illustrator into Photoshop, you can choose how to paste, but there is also a checkbox "add to my current library.

    Maybe this has been verified.

    But you can always change them when you open the library in Illustrator and double-click on it.

  • How can you choose insread iphone ipad app from the DPS app generator?

    Hi guys

    When I select Create from Indesign to create my application iPhone app, it goes to the app DPS constructor and then set to default iPad. How can I change to create an app instead of the iPad app? On the left side on DPS App Builder, I see the iPad and the details of the App. According to the guide of the Adobe, there is another screen that you select the type of application (iPhone and IPad).

    Screen Shot 2013-03-30 at 5.51.15 PM.png

    Any help would be greatly appreciated.

    Thank you

    Do not use the command Create App. DPS App Builder from the Applications folder. Then log in with an account that has the role of DPS App Builder. You need a Pro or Enterprise subscription to create an application that works on iPhone and iPad. Create an application for both, not separate apps.

  • How can I create a sub navigation, detached from the main navigation bar.

    I'm in the middle of the development of a Web site that features two areas of navigation. In the upper part of the site I have the main navigation, with House, about, work and communicate with, while in the lower part of the page work, I want to add navigation sub disciplines such as Visual identity, brochures and flyers, annual reports, etc.. It will be the child pages on the work page.

    I can't find the option to detach the navigation under the disciplines of the main navigation. Can someone tell me how I should create this possibility so that the sub navigation will be generated automatically, but detached from the main navigation?

    See you soon,.

    TimNavigation_SubNavigation_Example.png

    Unfortunately two unique sets of generated navigation automatically is not possible currently. An alternative is to create your navigation bar with a menu manual, low browsing with a menu widget, and then disable the top-level pages appear in the menus (on the preferences page, or by right-clicking on a page in outline view). Since there are more pages in the navigation at the bottom, this could at least save time by keeping only the automatically generated value.

  • How can I parallel 2 2 queries differ from the DB?

    The situation: I have a function, where I create 2 queries dynamically. Queries refer to two different bases, which are bound by dblink. And then I just union by the "UNION ALL" clause. After that I have exec that together interrogate them. Then I assign the results to a sys_refcursor. And the function returns a cursor to my external application.

    Question: can I run the execution of these two queries in parallel mode and how? I think that the execs 'UNION ALL clause "the first part of the first and the second union. Any help appreciated.

    I use Ora 10 g is said by the way.

    Published by: 806206 on 29.10.2010 01:36

    806206 wrote:
    The situation: I have a function, where I create 2 queries dynamically. Queries refer to two different bases, which are bound by dblink. And then I just union by the "UNION ALL" clause. After that I have exec that together interrogate them. Then I assign the results to a sys_refcursor. And the function returns a cursor to my external application.

    A cursor is not a result set. A cursor lies in the shared SQL pool and consists of submitted SQL source code and this code in the format "analyzed and compile ' (aka an execution plan). A slider is like a program. A cursor with bind variable is as a program with input parameters.

    The cursor or the program is executed. It copies data to the appellant when the appellant says the cursor fetch/get the next series line out.

    There is no result set created and stored somewhere in the memory of the (limited) server. Take a look at the view of Oracle® Database Reference (as V$ SQLAREA) on the sliders and container.

    Question: can I run the execution of these two queries in parallel mode and how? I think that the execs 'UNION ALL clause "the first part of the first and the second union. Any help appreciated.

    From where? PL/SQL? Or a Java client?

    You will need to evaluate this approach to parallelising of treatment. It can only increase the complexity and provide little benefit performance.

    The basic concept is that the thread principal (or process) will be the consumer of the data - and that children threads will read data from the remote databases and write to the data stream that the mother consumes.

    In PL/SQL, this can be done using queues in advance - where 'children' (started as background work processes for example) spooling the data they retrieve from the remote cursors and the parent removes and processes these data.

Maybe you are looking for

  • Satellite P750 PSAY1A: how to create the recovery Toshiba on the new HARD drive partition

    Hello I have an old Toshiba Satellite P750 (PSAY1A-01Y022). I just upgraded my memory from 4 GB to 8 GB and am preparing to take my 500 GB HARD drive 1 TB. I had to order the disk online and wait to happen. I always try to understand how to create th

  • Communication series-1073807339 error

    Hey all,. I know that this type of question has been asked several times before, but I have browsed the forums and have been unable to solve my problem after working hours. To be honest, I don't know what the problem is. The program was working fine

  • Where to find the Starfield Screensaver

    original title; Starfield screensaver I am disappointed that Vista does not include the old Starfield screensaver.  Y at - it somewhere that I can get an original version of this screensaver, prefferably directly from Microsoft?

  • How AutoSchedule Min Max planning?

    Hi allHow Auto Min Max planning calendar?Thanks in advance.

  • Video tutorials access denied, why?

    I have a full subscription to cloud CS.Why are online Fireworks tutorial videos denied access?Access deniedYou do not have permission to access to " " http://helpx.stage.Adobe.com/Fireworks/ATV/CS6-tutorials.html "on this server. "Reference #18.e12e1