|Jun 5, 2010, 02:48 PM||#1|
iMac web server connecting from outside problem
I am having a problem connecting to my DSL wireless home network web server on the iMac from the outside world. Wondering if someone can suggest what I might be overlooking.
Everything works splendid locally. I have activated PHP in Apache and Web Sharing in System Preferences, created the .conf file to allow access from the home directory, copied into my Sites a collection of PHP/HTML feedback forms and various music tracks for opinions. Works great "if" you happen to be on my DSL home network, the PHP Mail function sends form data to me and my colleagues, etc. I'm very pleased with how easy my iMac made this possible. Works, at home, via the iMac, a Windows XP PC, a Windows laptop, even my iPad (all connected to the home wireless network.)
(The "Your Personal Website" as noted when I turn on Web Sharing, etc.)
Created a info.php file in the Sites home directory and it runs, presents my PHP version and settings, etc.
All works thus far. Locally. Then the other shoe drops, try as I may, follow whatever instructions I can find, I just can't get the site to access from the outside world. Firefox times out, IE says it can't connect, etc.
I'm assuming (shouldn't assume but can't think of anything else) that it all has something to do with my DSL Modem/Router? My setup:
iMac with OS X 10.5.8
2Wire Wireless Modem/Router
SBC Global/ATT high speed DSL
I went into the 2Wire administration, Firewall Settings, it recognized my iMac as well as other computers on the home network and I clicked its offering of "Web Server" to add as acceptable access, saved, even rebooted. Still no luck connecting from the outside.
Any thoughts on what I should be looking for to get this working from the outside would be appreciated. Thank You.
|Jun 5, 2010, 04:08 PM||#2|
There are a few things you need to do:
1. Forward traffic from port 80 to port 80 on your iMac.
2. Get your external IP address: http://www.whatismyip.com/
3. Use the external IP to connect or use one of the free DNS services like http://www.dyndns.com/
I am not familiar with the 2Wire and its "Web Server" option.
Go here: http://portforward.com/
Find your model number and click on any of the various games and applications. You just need to find out where exactly you setup a port forward.
|Jun 5, 2010, 05:07 PM||#3|
Outstanding! That did it, thank you very much. Where I went wrong it seems is I mistook the IP that the iMac System Preferences > Web Sharing dialog presented as "Your Personal Website" to be the address for connecting from the outside. Unless I'm mistaken, I believe that IP is for local networked computers. Maybe I misunderstood "Personal" in "Your Personal Website."
But once I got and used my Internet connection's IP via whatismyip.com, created a port opening in the 2Wire administration for 80 to 80 for the iMac, and entered the whatismyip.com IP
bingo, the outside computers connected straightaway! The PHP scripts and web pages run fine, the PHP form emailed me a test filled in form data from the outside, so it looks like I'm good to go with this. Sweet. Thanks again.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Resolved: There was a problem connecting to the server||VirtualRain||OS X Mavericks (10.9)||1||Mar 11, 2014 10:21 PM|
|there was a problem connecting to the server...||Figment-uk||OS X Mavericks (10.9)||0||Oct 26, 2013 05:04 AM|
|Problem connecting to local server||Fabricius||Mac OS X 10.7 Lion||0||Nov 12, 2012 11:57 PM|
|Problem connecting to the server “idisk.mac.com||Lanarae||Mac OS X 10.7 Lion||2||Aug 22, 2012 05:59 PM|
|Strange problem with file permissions for local web server||thesheep||OS X 10.8 Mountain Lion||2||Aug 14, 2012 11:03 AM|
All times are GMT -5. The time now is 04:14 PM.