ShinyProxy not serving on 8080 port.
See original GitHub issueI am trying to install ShinyProxy in a local server The application.yaml config I use
proxy:
title: Open Analytics Shiny Proxy
logo-url: http://www.openanalytics.eu/sites/www.openanalytics.eu/themes/oa/logo.png
landing-page: /
heartbeat-rate: 10000
heartbeat-timeout: 60000
port: 8080
authentication: ldap
admin-groups: scientists
# Example: 'simple' authentication configuration
users:
- name: jack
password: password
groups: scientists
- name: jeff
password: password
groups: mathematicians
# Docker configuration
docker:
cert-path: /home/none
url: http://localhost:2375
port-range-start: 20000
specs:
- id: 01_hello
display-name: Hello Application
description: Application which demonstrates the basics of a Shiny app
container-cmd: ["R", "-e", "shinyproxy::run_01_hello()"]
container-image: openanalytics/shinyproxy-demo
access-groups: [scientists, mathematicians]
- id: 06_tabsets
container-cmd: ["R", "-e", "shinyproxy::run_06_tabsets()"]
container-image: openanalytics/shinyproxy-demo
access-groups: scientists
logging:
file:
shinyproxy.log
ShinyProxy is running as a service on port 8080.
● shinyproxy.service - ShinyProxy
Loaded: loaded (/etc/systemd/system/shinyproxy.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2020-08-27 08:43:30 IST; 5 days ago
Main PID: 31430 (java)
Tasks: 40
Memory: 897.8M
CGroup: /system.slice/shinyproxy.service
└─31430 /usr/bin/java -jar /opt/shinyproxy/shinyproxy.jar
However, if I curl the URL, it says
$ curl localhost:8080
curl: (7) Failed connect to localhost:8080; Connection refused
My docker is up and running on 2375 and I can spin up a test container and access it over browser. So that doesn’t seem to be the problem here. Could anyone help me out?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Exposing correct port - ShinyProxy
Hello setup a shinyproxy server on port 3838, although I would like it to default to port 80 ... The application subsequently does...
Read more >Configuration - ShinyProxy
port : port to be used by ShinyProxy; the default port is 8080 ;. Note: root permissions are required when using a port...
Read more >Advanced Configuration for ShinyProxy - Hosting Data Apps
ShinyProxy is a software that can serve containerized web applications ... favicon.ico heartbeat-rate: 10000 heartbeat-timeout: 60000 port: 8080 .
Read more >How to Use Shiny Containers with Shinyproxy - Luke Singham
Adding Additional non-Shiny Apps #. I'm going with a very basic 'hello world' flask app. The main issue here is configuring the ports...
Read more >Shinyproxy with keycloak redirected too many times
<socket-binding name = "proxy-https" port = "443"/>. This is not a definitive answer, but I think it is a significant advance in solving...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I figured out what the issue was. Looks like the port 8080 was not open to remote access. I use a CentOS server so I fixed this with
Tested if my app was accessible. Yes it was.
Saved the firewall settings. This, if added in FAQ would be really helpful. Closing this thread now.
Hi, @sarthi2395. I think you need to change authentication to “simple”.