Goaccess Websocket issue
Hello.
I trying to use Goaccess Web using 8081 port, but i can't Here is my configure and network state when I using web socket commend. Please help me
[root@CDN-VOD08 ~]# goaccess /var/log/nginx/access.log -o /var/www/html/report.html --real-time-html --port=8081 [RENDERING /var/log/nginx/access.log] {3,904,361} @ {20,549/s} WebSocket server ready to accept new client connections
[root@CDN-VOD08 ~]# netstat -anp | grep 8081
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 39944/goaccess
tcp 0 0 121.156.46.31:8081 61.74.74.42:55876 TIME_WAIT -
tcp 0 0 121.156.46.31:8081 61.74.74.42:55874 TIME_WAIT -
Are you seeing an error message in the browser's console via the dev tools? Also, are you accessing the report via HTTPS? Is GoAccess running on the same server where the report is being hosted? Feel free to post a screenshot of the browser if it helps.
hi @Hyungzn
For real-time GOAccess running, do you need specify more options like --origin= and --ws-url=.
You can read about this at Manual page here at Server Option.
About --origin= only @allinurl you can ask if accept IP or only Hostname.
In truly, I just did try running only with Apache or NGinX in front-end.
I don't know if this is possible without front-end http service.