Not sure what this error is --> listen EAFNOSUPPORT, but shiny server immediatly shuts down. No logs outside of this error. This is a new installation on Redhat linux using Shiny Server v1.5.9.923 (Node.js v8.11.3).
[2018-12-15T00:46:57.580] [INFO] shiny-server - Starting listener on http://[::]:3838
[2018-12-15T00:46:57.586] [ERROR] shiny-server - HTTP server error (http://[::]:3838): listen EAFNOSUPPORT :::3838
[2018-12-15T00:46:57.586] [INFO] shiny-server - Shutting down worker processes
HTTP server error (http://[::]:3838): listen EAFNOSUPPORT
Tried multiple ports with no luck.
Not sure how to fix this...
{
errno: 7,
code: 'EAFNOSUPPORT',
description: 'address family not supported'
},
Just to clarify, by modifying the shiny-server config file located at /etc/shiny-server/shiny-server.conf changing this parameter to
server {
# Instruct this server to listen on port 3838
listen 1234 127.0.0.1;
You are telling shiny to only allow traffic from your localhost pointing to port 1234, this might not be desirable because you are going to be able to access shiny apps only frome the server itself.
Good point. I can correct the post. For this server I was routing external traffic through a nginx server as I'm limited on open ports on the firewall.