Created
November 1, 2017 22:36
-
-
Save stuartambient/3ece8d44e060f46aa8af44a8505cfd32 to your computer and use it in GitHub Desktop.
Nginx and Thin with Sinatra app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# netstat -anp | |
Active UNIX domain sockets (servers and established) | |
Proto RefCnt Flags Type State I-Node PID/Program name Path | |
unix 2 [ ] DGRAM 20453 2767/systemd /run/user/1000/systemd/notify | |
unix 2 [ ACC ] STREAM LISTENING 20454 2767/systemd /run/user/1000/systemd/private | |
unix 2 [ ACC ] SEQPACKET LISTENING 9974 1/init /run/udev/control | |
unix 2 [ ACC ] STREAM LISTENING 17042 1294/postgres /var/run/postgresql/.s.PGSQL.5432 | |
unix 2 [ ACC ] STREAM LISTENING 9780 1/init /run/systemd/private | |
unix 2 [ ACC ] STREAM LISTENING 9790 1/init /run/systemd/fsck.progress | |
unix 2 [ ACC ] STREAM LISTENING 9791 1/init /run/systemd/journal/stdout | |
unix 6 [ ] DGRAM 9792 1/init /run/systemd/journal/socket | |
unix 2 [ ACC ] STREAM LISTENING 9794 1/init /run/lvm/lvmpolld.socket | |
unix 2 [ ACC ] STREAM LISTENING 9838 1/init /run/lvm/lvmetad.socket | |
unix 2 [ ] DGRAM 9958 1/init /run/systemd/journal/syslog | |
unix 16 [ ] DGRAM 9964 1/init /run/systemd/journal/dev-log | |
unix 2 [ ACC ] STREAM LISTENING 12994 1/init /run/snapd.socket | |
unix 2 [ ACC ] STREAM LISTENING 12997 1/init /var/lib/lxd/unix.socket | |
unix 2 [ ACC ] STREAM LISTENING 15348 1162/iscsid @ISCSIADM_ABSTRACT_NAMESPACE | |
unix 2 [ ACC ] STREAM LISTENING 12993 1/init /run/rpcbind.sock | |
unix 2 [ ACC ] STREAM LISTENING 12995 1/init /run/snapd-snap.socket | |
unix 3 [ ] DGRAM 9779 1/init /run/systemd/notify | |
unix 2 [ ACC ] STREAM LISTENING 12996 1/init /run/uuidd/request | |
unix 2 [ ACC ] STREAM LISTENING 13000 1/init /var/run/dbus/system_bus_socket | |
unix 2 [ ACC ] STREAM LISTENING 13001 1/init /run/acpid.socket | |
unix 3 [ ] STREAM CONNECTED 20480 2802/0 | |
unix 2 [ ] DGRAM 13441 851/acpid | |
unix 3 [ ] STREAM CONNECTED 20481 2765/sshd: vagrant | |
unix 3 [ ] STREAM CONNECTED 15062 1143/sshd | |
unix 2 [ ] DGRAM 20334 2765/sshd: vagrant | |
unix 3 [ ] STREAM CONNECTED 13448 1/init | |
unix 3 [ ] STREAM CONNECTED 15063 1/init /run/systemd/journal/stdout | |
unix 3 [ ] STREAM CONNECTED 13950 869/dbus-daemon | |
unix 3 [ ] STREAM CONNECTED 11100 450/lvmetad | |
unix 3 [ ] STREAM CONNECTED 14152 916/accounts-daemon | |
unix 3 [ ] STREAM CONNECTED 11101 1/init /run/systemd/journal/stdout | |
unix 2 [ ] DGRAM 20418 2767/systemd | |
unix 2 [ ] DGRAM 20607 2873/sshd: vagrant | |
unix 3 [ ] STREAM CONNECTED 14460 1/init /run/systemd/journal/stdout | |
unix 3 [ ] STREAM CONNECTED 14453 921/snapd | |
unix 2 [ ] DGRAM 67030 3973/sudo | |
unix 2 [ ] DGRAM 20415 2768/(sd-pam) | |
unix 2 [ ] DGRAM 21866 2990/sshd: vagrant | |
unix 2 [ ] DGRAM 14836 1067/dhclient | |
unix 2 [ ] DGRAM 15347 1162/iscsid | |
unix 3 [ ] STREAM CONNECTED 61919 1284/nginx.conf | |
unix 2 [ ] DGRAM 21254 860/inetd | |
unix 3 [ ] STREAM CONNECTED 11326 1/init /run/systemd/journal/stdout | |
unix 3 [ ] STREAM CONNECTED 11324 464/systemd-udevd | |
unix 3 [ ] STREAM CONNECTED 14910 869/dbus-daemon /var/run/dbus/system_bus_socket | |
unix 2 [ ] STREAM CONNECTED 67027 3973/sudo | |
unix 3 [ ] STREAM CONNECTED 61920 1284/nginx.conf | |
unix 3 [ ] STREAM CONNECTED 14909 916/accounts-daemon | |
unix 2 [ ] DGRAM 11344 464/systemd-udevd | |
unix 2 [ ] DGRAM 15246 921/snapd | |
unix 3 [ ] DGRAM 11372 464/systemd-udevd | |
unix 3 [ ] STREAM CONNECTED 16467 1242/VBoxService | |
unix 3 [ ] STREAM CONNECTED 16465 1175/polkitd | |
unix 3 [ ] STREAM CONNECTED 20639 2903/1 | |
unix 3 [ ] STREAM CONNECTED 14458 1/init /run/systemd/journal/stdout | |
unix 3 [ ] STREAM CONNECTED 16466 869/dbus-daemon /var/run/dbus/system_bus_socket | |
unix 2 [ ] DGRAM 27634 1175/polkitd | |
unix 3 [ ] STREAM CONNECTED 20640 2873/sshd: vagrant | |
unix 3 [ ] DGRAM 11371 464/systemd-udevd | |
unix 3 [ ] STREAM CONNECTED 16473 869/dbus-daemon /var/run/dbus/system_bus_socket | |
unix 3 [ ] STREAM CONNECTED 13951 869/dbus-daemon | |
unix 2 [ ] DGRAM 13948 869/dbus-daemon | |
unix 3 [ ] STREAM CONNECTED 14332 919/lxcfs | |
unix 3 [ ] STREAM CONNECTED 13363 860/inetd | |
unix 2 [ ] DGRAM 13747 861/systemd-logind | |
unix 3 [ ] STREAM CONNECTED 14456 1/init /run/systemd/journal/stdout | |
unix 3 [ ] STREAM CONNECTED 13953 869/dbus-daemon /var/run/dbus/system_bus_socket | |
unix 3 [ ] STREAM CONNECTED 13753 861/systemd-logind | |
unix 2 [ ] DGRAM 27422 3155/sshd: vagrant | |
unix 2 [ ] DGRAM 15437 1161/iscsid | |
unix 3 [ ] STREAM CONNECTED 13424 1/init /run/systemd/journal/stdout | |
unix 3 [ ] STREAM CONNECTED 13423 861/systemd-logind | |
unix 3 [ ] STREAM CONNECTED 27454 3185/3 | |
unix 3 [ ] STREAM CONNECTED 27455 3155/sshd: vagrant | |
unix 3 [ ] STREAM CONNECTED 20427 1/init /run/systemd/journal/stdout | |
unix 3 [ ] STREAM CONNECTED 20409 2767/systemd | |
unix 3 [ ] STREAM CONNECTED 13697 869/dbus-daemon | |
unix 2 [ ] DGRAM 10746 1/init | |
unix 3 [ ] STREAM CONNECTED 13699 1/init /run/systemd/journal/stdout | |
unix 2 [ ] DGRAM 10738 378/systemd-journal | |
unix 3 [ ] STREAM CONNECTED 21898 3020/2 | |
unix 3 [ ] STREAM CONNECTED 13364 1/init /run/systemd/journal/stdout | |
unix 3 [ ] STREAM CONNECTED 21899 2990/sshd: vagrant | |
unix 3 [ ] STREAM CONNECTED 13952 869/dbus-daemon /var/run/dbus/system_bus_socket | |
unix 3 [ ] STREAM CONNECTED 13515 866/cron | |
unix 3 [ ] STREAM CONNECTED 13516 1/init /run/systemd/journal/stdout | |
vagrant@vagrant:~$ | |
vagrant@vagrant:~$ sudo netstat -ltpe | |
Active Internet connections (only servers) | |
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name | |
tcp 0 0 *:http *:* LISTEN root 16979 1284/nginx.conf | |
tcp 0 0 *:ssh *:* LISTEN root 16862 1143/sshd | |
tcp 0 0 *:telnet *:* LISTEN root 13779 860/inetd | |
tcp 0 0 *:8000 *:* LISTEN vagrant 20768 2983/thin -R config | |
tcp6 0 0 [::]:ssh [::]:* LISTEN root 16870 1143/sshd | |
tcp6 0 0 localhost:postgresql [::]:* LISTEN postgres 17041 1294/postgres | |
vagrant@vagrant:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment