websocket issue

Hi

I am building a r shiny app and I have some trouble with NAT connection. So when I run my app using the code:

library(shiny)
runApp(host = "0.0.0.0", port = 80)

I found that my app works when typing my real server ip into browser. But when putting NAT reference ip, I cannot get my app run and the browser respond with the message like:

WebSocket connection failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET

and this error was raised from shinyapp.js when creating new WebSocket using NAT reference ip url. So, does anybody has the similar problem before and know how to solve the web socket issue?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.