Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 21st, 2010 | Syntax: None | Size: 1.94 KB | Hits: 64 | Expires: Never
Copy text to clipboard
  1. linux-c3ya:/home/administrateur # netstat --listening --programs --numeric-ports | grep 80
  2. tcp        0      0 *:5801                  *:*                     LISTEN      3758/xinetd
  3. udp        0      0 fe80::20e:a6ff:fe54:123 *:*                                 3539/ntpd
  4. linux-c3ya:/home/administrateur # sudo netstat -alpen --inet |grep 80
  5. tcp        0      0 0.0.0.0:5801            0.0.0.0:*               LISTEN      0          14165      3758/xinetd
  6. tcp        0      0 192.168.0.130:43756     74.125.39.139:80        TIME_WAIT   0          0          -
  7. tcp        0      0 192.168.0.130:47594     74.125.87.156:80        TIME_WAIT   0          0          -
  8. linux-c3ya:/home/administrateur # sudo netstat -alpen --inet |grep 80
  9. tcp        0      0 0.0.0.0:5801            0.0.0.0:*               LISTEN      0          14165      3758/xinetd
  10. linux-c3ya:/home/administrateur # /etc/init.d/apache2 restart
  11. Syntax OK
  12. Starting httpd2 (prefork) (98)Address already in use: make_sock: could not bind to address [::]:80
  13.                                                                                                                                                                
  14. linux-c3ya:/home/administrateur # netstat --listening --programs --numeric-ports | grep 80
  15. tcp        0      0 *:5801                  *:*                     LISTEN      3758/xinetd
  16. udp        0      0 fe80::20e:a6ff:fe54:123 *:*                                 3539/ntpd
  17. linux-c3ya:/home/administrateur # sudo netstat -alpen --inet |grep 80
  18. tcp        0      0 0.0.0.0:5801            0.0.0.0:*               LISTEN      0          14165      3758/xinetd
  19. linux-c3ya:/home/administrateur # /etc/init.d/apache2 restart
  20.  
  21. Syntax OK
  22. Starting httpd2 (prefork) (98)Address already in use: make_sock: could not bind to address [::]:80
  23.                                                                                                                                                      failed