How to run a local server with IPv6
Pre-requisites: Node should be installed
- Copy the ip6.js file on your machine
- Open terminal and go to the location where you have saved ip6.js
- On the terminal, type: node ip6.js
- To check if node server is listening, type: curl localhost:8080
- To verify, if server is listening on IPv6, type lsof -i :8080