❔ NSErrorFailingURLKey on M1 Mac Unity Running React Application Only When Connected to Home Network
I am receiving the following error when trying to run a Unity scene on my M1 Mac, but very interestingly this only happens when I do so on my home's network. I get the below error. This does not happen when I run it on another network, like my school's wifi, or even on my hotspot, which is also AT&T like my home network. Which is very confusing. Any idea what might be wrong, and maybe a description of how you got there. If you aren't sure, can you walk me through your thought process and how you recommend I debug this myself:
CallOnError[Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSErrorFailingURLKey=http://localhost:8101/, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <812D258B-8381-4969-BE5E-35FB6DFBE24B>.<282>, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server., _WKRecoveryAttempterErrorKey=<WKReloadFrameErrorRecoveryAttempter: 0x2cad095d0>, networkTaskDescription=LocalDataTask <812D258B-8381-4969-BE5E-35FB6DFBE24B>.<282>, _kCFStreamErrorDomainKey=1, NSErrorFailingURLStringKey=http://localhost:8101/, NSUnderlyingError=0x2a89a4a00 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}}]
1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.