|Jul 4, 2009, 02:14 AM||#1|
Access MAMP server REMOTELY...
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 !
|Jul 4, 2009, 12:00 PM||#2|
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.
|Jul 6, 2009, 05:39 PM||#3|
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 ?
|Jul 6, 2009, 09:30 PM||#4|
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...FphpMyAdmin%2F you will have to access it as http://255.255.255.0:8888/MAMP/frame...FphpMyAdmin%2F (assuming that 255.255.255.0 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 http://192.168.0.1 or http://192.168.1.1. 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, http://macrumors.com:80/ will point you to the same place.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Use VPN to Access iTunes Library Remotely||kivowitties||Mac OS X Server, Xserve, and Networking||5||Jan 26, 2014 07:48 AM|
|Access iTunes playlists remotely?||cosmichobo||OS X||5||Jan 9, 2013 01:28 AM|
|App to remotely access PC filesystem||SwisströM||iPhone and iPod touch Apps||0||Oct 12, 2012 05:56 PM|
|MAMP Server Security Basic Question||Reg88||OS X||0||Jun 23, 2012 10:10 PM|
|help on simple project using MAMP on small intranet server (beginner to servers)||neurophysicist||Mac OS X Server, Xserve, and Networking||1||Jun 7, 2012 05:32 PM|
All times are GMT -5. The time now is 12:01 PM.