how to login rstudio sever via ipv6

I can connect rstudio sever via "ipv4 address:8787". However, when I tried "[ipv6 address]:8787",it didn't work. My ipv6 net work is good.

By default RStudio Server listens to 0.0.0.0:8787, c.f. https://docs.rstudio.com/ide/server-pro/access-and-security.html#network-port-and-address. This is also visible in the output of netstat:

tcp   0   0 0.0.0.0:8787   0.0.0.0:*    LISTEN      28134/nginx

If I add

www-address=[::]

to /etc/rstudio/rserver.conf this changes to

tcp   0   0 :::8787   :::*    LISTEN      710/nginx

This looks good, but I am now unable to connect to the server. This might be related to insufficient IPv6 set-up on the actual server/network. Does this configuration work for you?

it is not working for me. I also try to forward a vist from ipv6:8000 to ipv4:8787 by using "socat TCP6-LISTEN:8000, reuseaddr, fork TCP:8787". Then I get an error hit "TCP4 wrong number of parameters(1 instead of 2)". Do you konw what is going wrong with it?