Skip to content

Instantly share code, notes, and snippets.

@zudochkin
Last active June 9, 2018 17:35
Show Gist options
  • Save zudochkin/5168464 to your computer and use it in GitHub Desktop.
Save zudochkin/5168464 to your computer and use it in GitHub Desktop.
Find Rails server in local network
for ip in 192.168.1.{1..255}; do curl -I http://$ip:3000 --connect-timeout 1 --silent > /dev/null && echo $ip; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment