Access MAMP server REMOTELY...

Discussion in 'Mac OS X Server, Xserve, and Networking' started by michanagel, Jul 3, 2009.

  1. michanagel macrumors newbie

    Jul 3, 2009

    we just installed MAMP on one of our servers and we want to access it remotely via the web - as of right now we can access the console through a VNC client which is way too slow...

    Is there a web interface ?

    And if so, how do we access it ?

    Thanx for your help in advance !

    - M
  2. whatsgooddan macrumors member

    Apr 6, 2009
    NY, USA
    If you are behind a router, you need to set up port forwarding.

    Choose a port on the router (just use 8888) and tell it to route all requests to port 8888 on your local machine.

    Make sure port 8888 isn't blocked by your computer's firewall either. Chances are that computers on your local network can find your site, but internet users can't.

    MAMP is not secure and you shouldn't be using it to host a website from home. If you need to show somebody something, that is OK. Once you are done, close the port on the router, and turn back on the firewalls.
  3. michanagel thread starter macrumors newbie

    Jul 3, 2009

    thanx for your reply. ;)

    What I am looking for is INTERNET access to the phpMyAdmin part of the MAMP server.

    I thought that would not be a problem since phpMyAdmin can be protected with login etc. ....

    When you're on a shared server (with GoDaddy for example) there is always a web access to the phpMyAdmin installed on the server...

    Any idea if that is possible with MAMP ?

    - M
  4. whatsgooddan macrumors member

    Apr 6, 2009
    NY, USA
    Shared servers usually run linux and are actively maintained by one or more people. They use the command line to perform operations. This is the only way to ensure maximum security.

    You can run a server with MAMP and access it from the internet (including the phpMyAdmin portion). But, it's not recommended because it is very insecure right out of the box. For example, the MySQL username/password is root/root by default. MAMP doesn't provide a nice interface to change these settings. (MAMP Pro does but it costs a lot of money, and only covers a few more security settings).

    A truly secure system is configured using a text editor. You should know how to edit the http.conf file for Apache. MAMP's version of Apache is horrendously insecure, but is good enough for people to test web applications locally.

    If you still insist on using MAMP to run a webserver, you can. You will be able to access phpMyAdmin like you usually do.

    If you access MAMP's PhpMyAdmin at home from http://localhost:8888/MAMP/frame.php?src=/phpMyAdmin/ you will have to access it as (assuming that is your IP address and also assuming that port forwarding is set up correctly).

    You do not need to set up port forwarding if your computer is connected directly to the internet. But, if you are sitting behind a router, you do. This feature may seem like a pain sometimes, but it secures you from the outside world.

    If you are interesting in continuing, Google port forwarding. See if you can get some help setting it up (it's a different process depending on what your router is). Usually routers can be configured using or This IP address is reserved for your internal network. If you are asked for a password, it is probably admin/blank or admin/admin or user/password or something similar.

    In this interface, you can configure port forwarding. You want to take all requests for port 8888 and send it to port 8888 on your computer.

    To make it more "secure", use a random port (something that's harder to guess). By default, web servers are run on port 80. So like, will point you to the same place.

Share This Page