martijnwalraven / meteor-ios

Meteor iOS integrates native iOS apps with the Meteor platform (http://www.meteor.com) through DDP
MIT License
740 stars 79 forks source link

When using local IP of my macbook where meteor is running not able to connect to iPhone (ws://local IP:4000/websocket) #104

Open abhisheksingh1 opened 8 years ago

abhisheksingh1 commented 8 years ago

Meteor is running on my macbook, I am trying to connect from my iPhone to meteor using local IP of my macbook. I am unable to connect.

+ (instancetype)defaultAccount {
  A0SimpleKeychain *keychain = [self keychain];
  if (!keychain) return nil;
  NSData *data = [keychain dataForKey:METAccountKeychainItemName];
  if (!data) return nil;
  return [NSKeyedUnarchiver unarchiveObjectWithData:data];
}

getting data is nil, self.networkReachabilityManager.reachabilityStatus getting Null

louis49 commented 8 years ago

Use the .local address that you can find in OS X Settings > Share/Sharing : Computers on your local network can access your computer at.