VNC-connecting doesnt work

Hi there,

I’ve been on arch for over a year, but I fcked up a little and didnt want to go though the installation process again as I didnt know how I’d set up disc encryption via terminal install, so I thought I’d try out EndeavourOS, so here I am.

I want to connect my IPad via VNC, I used this guide/script to get a server running, but when I want to connect with any client, that is on the same network, and has the right ip and name and port specified, i get a “The port on which the computer is listening for a connection could not be contacted.” on the client, and no action on the server. When i nmap i get

PORT STATE SERVICE
5900/tcp open vnc

and this:

30/11/2022 17:21:14 rfbProcessNewConnection: error in getnameinfo: Transport endpoint is not connected
30/11/2022 17:21:14 rfbNewClient: error in getnameinfo: Transport endpoint is not connected
30/11/2022 17:21:14 0 other clients
30/11/2022 17:21:14 webSocketsHandshake: unknown connection error
30/11/2022 17:21:14 Client gone
30/11/2022 17:21:14 Statistics events Transmit/ RawEquiv ( saved)
30/11/2022 17:21:14 TOTALS : 0 | 0/ 0 ( 0.0%)
30/11/2022 17:21:14 Statistics events Received/ RawEquiv ( saved)
30/11/2022 17:21:14 TOTALS : 0 | 0/ 0 ( 0.0%)

on the server.

Server and client are for sure on the same network and everything, because I was able to ping the client. In the firewall the port (5900) is set to allow everything, i even restarted the firewalld service (dont know if that changed anything)
I double checked everything I said I already tried, so I don’t think I made a mistake there.

Any help is welcome!
Thanks in advance!

Did you open the ports in the firewall?

https://discovery.endeavouros.com/applications/firewalld/2022/03/

In the GUI → trusted → ports → 5900 tcp
yes, I did, nmap would show it as open if it wasnt allowed I think