If i have a localhost http server [vert.x/ktor] ex...
# server
a
If i have a localhost http server [vert.x/ktor] exposed via port forwarding for a remote client - is there a way to restrict access by ip [something like htaccess]? i.e. only allow a particular ip or range of ips? [assuming i am not using ngrok or want to deploy to heroku/GAE]
n
Since both Ktor and Vert.x use Netty there is a solution (https://stackoverflow.com/questions/9026090/how-to-refuse-incoming-connections-in-netty), however both server-side options don't allow low level Netty access. 🙁