Failed to load resource - ERR_CONNECTION_REFUSED

文章推薦指數: 80 %
投票人數:10人

... I try to use the action in my App project (via server connect), I get the error; 'Failed to load resource: net::ERR_CONNECTION_REFUSED'. Failedtoloadresource-ERR_CONNECTION_REFUSED MobileApps DorianGrey April7,2021,1:06am #1 Hieveryone! Soi’mtryingtocreateamobileappbyfollowingthedocs–Totalnewbie! I’vesetupboththeDataApiandAppprojects,andcreatedaserversideactiontoretrievearecordfromthedatabase(Ohandthisisallonmylocalserver)…ButwhenItrytousetheactioninmyAppproject(viaserverconnect),Igettheerror;‘Failedtoloadresource:net::ERR_CONNECTION_REFUSED’. Anyideaonhowtogetpastthis? Thanks. brad April7,2021,1:23am #2 Interesting.Whatareyouusingforalocalserver?IfyouareusingWAMP/Mampproitshouldwork.IfyouareusingdockerorWapplerownserverIcanseethatbeingaproblembecausetheyaren’tactuallyrunning. DorianGrey April7,2021,2:29am #3 HeyBrad! SomydataapiprojectisNode(WapplerserverIguess),connectedtoalocaldatabaseviaMamppro. Whatdoyouthink? brad April7,2021,3:04am #4 YeahIthinkyourAPIfilesneedtobeonarunningserver.Ibetifyouhadthechancetosendthemtoaliveserveritwouldwork. IcouldbewrongbutIdon’tseehowtheAPIfilescanrunwithoutbeingonaliveserver. Teodor April7,2021,6:09am #5 DorianGrey: SomydataapiprojectisNode(WapplerserverIguess), AssoonasyoucloseorchangeyourprojectthelocalNodeserverstopsrunning.Soprobablythat’syourissue. StevenM April7,2021,6:14am #6 Thishasbeenhappeningtometoday. connection2344×990352KB George April7,2021,6:32am #7 Thelocalnodeserverrunsonlywhentheprojectisselected. SotouseitasanAPIformobileprojectyouwillneedtodeployitsomewherefirst.Soyouwillalsohavefullurllinksthatyourmobileprojectcanreferto. DorianGrey April7,2021,8:17am #8 Totallymakessense! Thanksalot@brad,@Teodor,@George Mennovandijk May4,2021,4:30pm #9 Ihavesetupanewprojectwithnoback-endserverandencountersimilarerrors.(Windows10) IsthereanythingelseImustdotoviewthehtmlfiles? Systemcheckallgreen. Target:Local



請為這篇文章評分?