I watched Ryan Bates Railscast on the http://railscasts.com/episodes/221-subdomains-in-rails-3 subdomains and using lvh.me to serve localhost subdomains as described in railscast.
Today I published 'lsof | grep IPv4 'to see my running processes, and I noticed the following entries:
... Finder 121 nellboy 8u IPv4 0x7cade64 0t0 TCP lvh.me:58803->lvh.me:26164 (ESTABLISHED) ... Dropbox 131 nellboy 24u IPv4 0x7cb866c 0t0 TCP lvh.me:26164->lvh.me:58803 (ESTABLISHED) ... GoogleTal 26427 nellboy 27u IPv4 0xbc3666c 0t0 TCP lvh.me:64279 (LISTEN) GoogleTal 26427 nellboy 30u IPv4 0x9152270 0t0 TCP lvh.me:64279->lvh.me:64280 (ESTABLISHED) ruby 54081 nellboy 4u IPv4 0xbc36a68 0t0 TCP lvh.me:sunwebadmins (LISTEN) ... Google 57647 nellboy 24u IPv4 0x7539a68 0t0 TCP lvh.me:64280->lvh.me:64279 (ESTABLISHED)
I am wondering why lvh.me is listed in my Dropbox, my google account, etc. Is this a security risk? Should I worry?
Thanks in advance
Floor
I assume that at some point in this video you add a post like:
127.0.0.1 lvh.me
to your /etc/hostsfile.
/etc/hosts
It just adds a new name for your local system.
lsof -n | grep IPv4 netstat -anp, , , , lvh.me:26146 127.0.0.1:26146.
lsof -n | grep IPv4
netstat -anp
lvh.me:26146
127.0.0.1:26146
, . , , .