Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 9, 2013, 08:32 AM   #1
jisaac
macrumors member
 
Join Date: May 2009
Cannot Access a Website

There is a website I have been working on hosted on an Amazon Web Services EC2 server and needed to modify some folder permissions. So I attempted to connect via SSH (I was connecting by FTP previously). While attempting to SSH something went wrong and now I cannot access to the website by url or IP. I believe I may have accepted a key of some sort and that hosed the connection. I don't see any certificates or keys that look related to my domain/IP.

When I ping I get 100% loss. All browsers time out.

I have dumped my DNS cache

I cleared my known_hosts

I am at a loss now and do not know what to do.


I have some work I must finish but cannot reach the server from my MAC. It is the only connection on this LAN (connected to a cable modem) but I can reach the server from other computers. Please help! I would be most appreciative for any advice or suggestions.
jisaac is offline   0 Reply With Quote
Old Apr 9, 2013, 08:55 AM   #2
maflynn
Moderator
 
maflynn's Avatar
 
Join Date: May 2009
Location: Boston
I would contact your web host's support, they may be able to help you more since they can view your files/folders and determine what's going on.
__________________
~Mike Flynn
maflynn is offline   0 Reply With Quote
Old Apr 9, 2013, 09:01 AM   #3
jisaac
Thread Starter
macrumors member
 
Join Date: May 2009
AWS has support? : )

----------

I have not hit the AWS forums yet, but the point is that I can reach the server from other systems so it is working.
jisaac is offline   0 Reply With Quote
Old Apr 9, 2013, 09:13 AM   #4
maflynn
Moderator
 
maflynn's Avatar
 
Join Date: May 2009
Location: Boston
Quote:
Originally Posted by jisaac View Post
AWS has support? : )
If they don't, I'd look for a web host that has good support. I chose my web host primarily on how great their support is. My tickets are opened and addressed (and typically resolved) in about 10 minutes.

I'm not familiar with Amazon's web hosting but hopefully they have the support structure to help you.
__________________
~Mike Flynn
maflynn is offline   0 Reply With Quote
Old Apr 9, 2013, 09:38 AM   #5
Jessica Lares
macrumors 603
 
Jessica Lares's Avatar
 
Join Date: Oct 2009
Location: Near Dallas, Texas, USA
Quote:
Originally Posted by jisaac View Post
AWS has support? : )

----------

I have not hit the AWS forums yet, but the point is that I can reach the server from other systems so it is working.
http://aws.amazon.com/premiumsupport/
__________________
Have You Hugged Your Mac Today?
Daily Expressions | iMac G4 | Late 2011 13" MacBook Pro | iPod Nano (7G) | iPad Mini | iPod Touch (5G) | iPhone 5S
Jessica Lares is online now   0 Reply With Quote
Old Apr 9, 2013, 09:48 AM   #6
jisaac
Thread Starter
macrumors member
 
Join Date: May 2009
Quote:
Originally Posted by Jessica Lares View Post
Sorry, for the sarcasm, I am aware of their support but previously found it to be less helpful regarding items outside of their servers.

This is an issue with my computer. I can access everything from other systems just not my MBP.

I have also tried to create a new user and access the site from there, but no dice. So it is system wide. I am using Mountain Lion and need to find out what needs to be reset/cleared/etc. so I can access the server. From my MBP I cannot access the server by IP or URL.

Any advice or suggestions?
jisaac is offline   0 Reply With Quote
Old Apr 9, 2013, 09:50 AM   #7
maflynn
Moderator
 
maflynn's Avatar
 
Join Date: May 2009
Location: Boston
Is the site accessible on another computer or your smart phone? I took your post as you messed with some permissions and settings on your website and not its not working.

As for your sarcasm, we're trying to help you, and since I'm not familiar with AWS I couldn't be sure what level of support is being offered.
__________________
~Mike Flynn
maflynn is offline   1 Reply With Quote
Old Apr 9, 2013, 09:51 AM   #8
jisaac
Thread Starter
macrumors member
 
Join Date: May 2009
Yes, completely accessible from my phone and other computers.
jisaac is offline   0 Reply With Quote
Old Apr 9, 2013, 09:53 AM   #9
maflynn
Moderator
 
maflynn's Avatar
 
Join Date: May 2009
Location: Boston
Quote:
Originally Posted by jisaac View Post
Yes, completely accessible from my phone and other computers.
Have you looked at your console logs?

Also did you try rebooting?
__________________
~Mike Flynn
maflynn is offline   0 Reply With Quote
Old Apr 9, 2013, 09:54 AM   #10
AdeFowler
macrumors 68020
 
AdeFowler's Avatar
 
Join Date: Aug 2004
Location: England
Quote:
Originally Posted by jisaac View Post
Yes, completely accessible from my phone and other computers.
On the same IP address as your MacBook pro? I'm just wondering if your IP address has been blocked for some reason?
__________________
15 2012 MacBook Pro | Mac Pro 6-core | 30 ACD
64gb 3g iPad and an iPod or two
AdeFowler is offline   0 Reply With Quote
Old Apr 9, 2013, 09:56 AM   #11
jisaac
Thread Starter
macrumors member
 
Join Date: May 2009
Reboot and clear DNS were the first things I looked for.

Regarding the console logs, yes and no. I took a peek and am not sure what I am looking for. It happened yesterday around 1PM - there is nothing around then that looks strange or more strange that the other entries.

----------

Quote:
Originally Posted by AdeFowler View Post
On the same IP address as your MacBook pro? I'm just wondering if your IP address has been blocked for some reason?
Same IP, only the MAC cannot connect.
jisaac is offline   0 Reply With Quote
Old Apr 11, 2013, 06:18 AM   #12
SrWebDeveloper
macrumors 68000
 
SrWebDeveloper's Avatar
 
Join Date: Dec 2007
Location: Alexandria, VA, USA
 
1) Look in /etc/hosts on your Mac and see if the IP or EC2 hostname is in there, if so remove it as it will override.

2) Use "ssh -v x.x.x.x" where x.x.x.x is the IP and report back here what you see, this turns on verbose mode so we can see what's going on with ssh.

3) Check permissions on your .ssh folder setup, i.e. here is mine:

$ ls -al
total 96
drwx------ 6 jgoldblm staff 204 Feb 28 12:35 .
drwxr-xr-x+ 102 jgoldblm staff 3468 Apr 10 16:31 ..
-rw------- 1 jgoldblm staff 621 Nov 30 14:32 authorized_keys
-rw------- 1 jgoldblm staff 744 May 7 2012 id_dsa
-rw-r--r-- 1 jgoldblm staff 621 May 7 2012 id_dsa.pub
-rw-r--r-- 1 jgoldblm staff 35542 Apr 5 12:46 known_hosts

If you are missing some of these files (or user/user.pub instead of id_dsa/id_dsa.pub) then:

http://aws.amazon.com/articles/1233

Follow the help there especially the part about ssh-keygen on your local and making any corrections to EC2 setup using another machine you can ssh from. If your Mac is setup correctly the most likely cause, other than wrong keys being sent or not at all, is you blocked your own IP or host as outlined in the link above under the ec2-authorize help.

And re-create your pub/priv key and contact AWS support to add your private key if you don't have access to do so yourself as a last resort.
__________________
Jim Goldbloom
Sr. Web Developer, owner GoldTechPro, LLC
http://www.GoldTechPro.com

Last edited by SrWebDeveloper; Apr 11, 2013 at 06:48 AM. Reason: security
SrWebDeveloper is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
can not access school's website Gonzo3333 OS X 4 Aug 28, 2013 10:51 AM
Developing an app to access a website? Orange Furball iPhone/iPad Programming 9 Jun 29, 2013 01:21 PM
Can't access website with macbook pro - any more j2310lime MacBook Pro 2 May 9, 2013 08:11 PM
'Blocked' website access jonparadise Mac OS X 10.7 Lion 0 Jul 8, 2012 10:34 AM

Forum Jump

All times are GMT -5. The time now is 01:21 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC