rstudio / shiny-server

Host Shiny applications over the web.
https://rstudio.com/shiny/server
Other
719 stars 289 forks source link

Shiny Server OS doesn't work if ipv6 is disabled #535

Closed lvalnegri closed 2 years ago

lvalnegri commented 2 years ago

I'm on Ubuntu 22.04.1 with ipv6 disabled in GRUB, this is the SS log:

[2022-09-03T01:12:14.666] [INFO] shiny-server - Shiny Server v1.5.19.995 (Node.js v16.14.0)
[2022-09-03T01:12:14.667] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2022-09-03T01:12:14.684] [INFO] shiny-server - Starting listener on http://[::]:3838
[2022-09-03T01:12:14.687] [ERROR] shiny-server - HTTP server error (http://[::]:3838): listen EAFNOSUPPORT: address family not supported :::3838
[2022-09-03T01:12:14.687] [INFO] shiny-server - Shutting down worker processes

I've tried to look into the docs if there were some apt configuration to be set but couldn't find any.

jcheng5 commented 2 years ago

Please try editing /etc/shiny-server/shiny-server.conf, and change the line listen 3838; to listen 3838 0.0.0.0;. Then sudo systemc restart shiny-server from the shell.