OWASP Damn Vulnerable Web Sockets (DVWS) is a vulnerable web application which works on web sockets for client-server communication. The flow of the application is similar to DVWA.
In the "hosts" file of your attacker machine create an entry for "65.0.61.69" to point at the IP address hosting the DVWS application.
Location of the "hosts" file:
Windows: C:\windows\System32\driverstc\hosts
Linux: /etc/hosts
Sample entry for hosts file:
192.168.100.199 65.0.61.69
The application requires the following:
composer install php ws-socket.php --heartbeat-interval 10