Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fallback for local socket address
Same problem and same solution as brunodev85#48 To be more clear: getLocalHost might fail (as it does on my device, where I have a nethunter chroot which sets kali as hostname and getLocalHost can't resolve it) getLoopbackAddress would be a more elegant solution if it would get the loopback ipv4, but it might return an ipv6 (again, in my case it does) which doesn't actually connect to the server
- Loading branch information