netstat -an|grep "61616"
Which program is using port 61616
netstat -nlap|grep 61616
check all networks
ifconfig -a
Config IP address dhcp netmask gateway etc..
/etc/network/interfaces
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto em1 iface em1 inet dhcp # This is an autoconfigured IPv6 interface iface em1 inet6 auto #another auto enp0s3 iface enp0s3 inet static address 192.168.56.95 netmask 255.255.255.0 network 192.168.56.0 broadcast 192.168.56.255
Change hostname
/etc/hostname
Assign ip to hostname
/etc/hosts
iptables
ubuntu
https://help.ubuntu.com/community/IptablesHowTo
sudo iptables -L
centOS
service iptables status
See what port is opened
netstat -tnlp
No comments:
Post a Comment