Closed laosb closed 9 years ago
Grammar mistake... Sorry for the grammar mistake in title as I'm not a native speaker...
you need to define the server with a protocol and port. For example, --server=http://gtc-app.unihubs.com:80
At school now. I would try it this weekend. BTW, on the wiki page, there are no protocol and port specified.
Also make sure you are defining the same server/mobile-server when running the server and client.
@Slanman3755 No effect though. Built with command meteor build --directory ../gtcAppBuild --server=http://gtc-app.unihubs.com:80 --architecture=os.linux.x86_64
. Do I need to redeploy it?
Now it began to update itself. I don't know how does it achieve it, it just works. The reason might be that my network connection is not very good. BTW, I tested all the URL patterns:
gtc-app.unihubs.com
http://gtc-app.unihubs.com
http://gtc-app.unihubs.com:80
gtc-app.unihubs.com:80
They do work perfectly. And my suggestion is, add a log saying "I'm trying to connect the server http://xxx.xxx". If it appeared in my debug console, I wouldn't be here for a "bug" which didn't exist. Thank you @Slanman3755 @ekatek for your help! Closing.
Glad to hear this worked for you!
Xcode log here:
It seems that it doesn't load anything from the remote server I set by
Confused by this.....
Deployed to gtc-app.unihubs.com, which based on meteor.com hosting.
--server=gtc-app.unihubs.com
. The network report done by Xcode agrees: