On OS X, telnet separates the IP and the port with a space, not a colon, so you have to do
telnet 10.0.1.9 12124 rather than
You are right that a telnet server usually runs on port 23, but in this case we are just using the
telnet client to connect to the Fuse process which listens on port 12124 when a preview instance is running.
Again, is local preview working?
Yes, local preview works fine for me.
Thanks for highlighting my error with the use of telnet. Now when I run telnet
calvin@~/Documents/Safezone/Projects/fuse/examples/hikr$ telnet 10.0.1.9 12124 as you’ve outlined, I get this output:
telnet: connect to address 10.0.1.9: Connection refused
telnet: Unable to connect to remote host
Can you please make sure that local preview is running, and then run the telnet command again, both to your public and your loopback ip?
telnet 10.0.1.9 12124 and
telnet 127.0.0.1 12124 (It’s important that local preview is running while you do this)
Another thing that could shed some light on this: After you run
fuse preview -tios and the project opens in XCode, can you please try starting it in the iOS simulator instead of on your actual device?
With local preview running, I get the following output from my terminal.
calvin@~/Documents/Safezone/Projects$ telnet 10.0.1.9 12124
Connected to 10.0.1.9.
Escape character is '^]'.
calvin@~/Documents/Safezone/Projects$ telnet 127.0.0.1 12124
Connected to localhost.
Escape character is '^]'.
I get the same error trying to preview on my iPhone7 regardless if I start it from XCode (upgraded to 8.1 to support iOS 10.1 on iPhone) or by tapping the app on the phone itself.
Thanks! Can you please try running preview in the iOS simulator inside Xcode instead of on your actual device?
If you’re unfamiliar with the iOS simulator in Xcode, you can read more about it here https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/Introduction/Introduction.html
Hi Anders, I am able to successfully build and run the app through the XCode simulator. This worked for the iPhone5 and iPhone7 Plus targets.
Ok, then it seems like Fuse is working just fine, and that you phone is just unable to connect to your computer. Are you 100% sure they are connected to the same wifi? Are you running any sort of firewall on your computer?
I have not installed any Firewall products on my laptop. And yes, I’ve just re-verified that both my iphone and laptop are connected to a wifi network named “ibiza 5GHz.”
The fact that the iOS simulator app works, means that it is able to connect to Fuse. Also, the fact that you’re able to connect with
telnet 10.0.1.9 12124 means that Fuse is able to bind and listen on that port on your public IP.
I’m running out of ideas now, but the last thing you could try is to find an iOS network debugging app and see if you are able to telnet to
10.0.1.9 12124 from your iPhone.
Edit: The first paragraphs here also explain a bit how Fuse works.
Thanks for that summary. I’ll look into an iOS network debugging app and will possibly reinstall my OSX and/or buy a new machine that I can dedicate for Fuse Development if needed. I will update the post once I have new insight.
This sounds like a software issue, so hopefully the app will reveal the issue, or a re-install will help. I don’t think the hardware could cause an issue like this. Good luck with debugging!