Run shiny app with rstudioserver on centos error "Connection Refused" - shiny

I have trouble with my shiny app run in my rstudio server on my centos Server.
When i run a shiny app in my rstudio-server IDE, a new browser windows open (that's normal) but i have this error "Connection Refused".
I run the "hello world" shiny app (https://shiny.rstudio.com/gallery/example-01-hello.html) in my home directory.
I have also a shiny-server on this centos server for run my deploy application, and this work fine.
You can see my all soft version
CentOS Stream release 8
R version 4.1.3 (2022-03-10) -- "One Push-Up"
RStudio Server 2021.09.1 Build 372 2009-2021 RStudio, PBC "Ghost Orchid" Release (8b9ced18, 2021-11-08) for CentOS 8
-shiny-server - Shiny Server v1.5.18.987 (Node.js v16.14.0)
In my Rstudio IDE they are no message error, the applucation is running (with error message) and i have this
> runApp('test')
Listening on http://127.0.0.1:7880
If I forgot something do not hesitate, thank you for your help.
Best Regards
Quentin B.

Related

How to verify that chrome is working on my Amazon Linux AMI server?

On my server I am using Chromedp (a Go package) that runs a headless version of chrome to generate PDFs for me.
When I run this process on my windows machine it works great. Then when I try to run it on my Amazon Linux AMI server I always get the error message "context cancelled"
I asked on their github page if that was an issue with something I was doing and I was told that it might be happening if the browser crashes or fails to start.
How can I verify that my version of chrome is working through the command line?
I followed this guide when I was installing chrome.

Shiny / Shiny-Server does not render outputs (plots, datatable)

I'm having trouble with my shiny installation. I have Shiny Server (1.5.3.838) on Ubuntu 16.04.3 LTS with Shiny package version 1.0.3. Here is the screenshot;
Shiny-server does not render the sample-app's plot. But i think the problem is not about the shiny-server because the same issue exists when i ran the application via Rstudio.
Things i've tried so far;
Change the shiny-server log level to TRACE
Change the application log level
Install different versions of Shiny-server (1.5.x, 1.4.x)
Install different versions of Shiny package (1.0.x)
Try on different browsers (Chrome, Firefox, IE)
Change the shiny-server conf file into this;
preserve_logs true;
sanitize_errors off;
disable_protocols xdr-streaming xhr-streaming iframe-eventsource iframe-htmlfile;
Edit: My R version is Microsoft R Server 9.1.0 (on top of MRO 3.3.3)

#2003 - can't connect to mysql server on 'localhost' (10061) when I restart computer

I have a strange problem.
I install appServ successfully.
It can run after I installing it.
But it shows #2003 - can't connect to mysql server on 'localhost' (10061) when I restart my computer.
But I reinstall appServ, it can run successfully again.
I don't know why...
Could you give me some advices.
Thanks a lot !
Notes:
appServ v2.5.10
windows XP

Python 2.7 not working -- refusing to serve hidden directly , via 404 Error

CMD error message
jupyter 404 error message
I was able to work fine with python (jupyter notebook) until yesterday, and I turned off the command prompt that was running python. When I try to restart python by typing in jupyter notebook in cmd, it throws a 404 error. I think the possible reason for this is that I was running python as a server and connecting it to asp.net website in visual studio with IIS running the asp.net. So the python server on port 8888 might still be running, and I think that is what's preventing me from opening jupyter notebook.
So I tried the following steps to get it to work, but it throws the same error:
Pressed ctrl+c twice to interrupt the kernel (interuppted but still did not run jupyter notebook afterwards)
Uninstalled Python 2.7 Anaconda and reinstalled
Removed IIS website and tried running python by itself (still not worked)
My question comes down to this:
How do I get the jupyter notebook to run? Should I try closing the port 8888 and running jupyter notebook again?
In case someone faces the same issue, I am posting an answer to my question :)
Answer:
Open Anaconda prompt then type in "jupyter notebook"

WAMP server in windowss 7 safe mode

Because windows 7 crashed and gives me this msg: The application was unable to start correctly (0xc0000022). So i started win 7 in safe mode to just backup my project database, but WAMP server is not working and it's icon is red.
Is there any way to backup database or start WAMP.
So kindly help.