Showing posts with label Networking. Show all posts
Showing posts with label Networking. Show all posts

Saturday, 11 January 2014

Which process uses port 8080?

# fuser 8080/tcp

Monday, 16 September 2013

/etc/network/intefaces

iface eth1 inet static address 192.168.2.9 netmask 255.255.255.0 gateway 192.168.2.1 dns-nameservers 192.168.2.1 8.8.8.8
==========================================================
auto eth1 iface eth1 inet dhcp wpa-ssid fooAP wpa-psk foopassword

Thursday, 20 December 2012

How to limit download/upload speed on localhost

$ sudo apt-get install wondershaper
$ wondershaper eth1 max_download_speed max_upload_speed


Example: $ wondershaper eth1 256 32

Wednesday, 28 November 2012

127.0.0.1 vs 0.0.0.0

127.0.0.1 will listen only on the localhost IP address

0.0.0.0 will listen on all available interfaces


Friday, 4 November 2011

how to kill process on port 8080

find process id which uses port 8080 with one of the following:
lsof -w -n -i tcp:8080
fuser -n tcp 8080
netstat -anp|grep :8080[[:blank:]]
and now kill it with
kill -9 processid

Friday, 29 April 2011

I cannot get an IP (dhclient fails) because my Ethernet cable is not 100Mbps and Full Duplex as Ubuntu anticipates

If you ethernet cable is 10Mbps and Full Duplex then inform Linux for this:

$ sudo mii-tool -F 10baseT-FD eth0
$ sudo dhclient eth0