Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

NTOP is a network monitor.
It has a web interface for viewing statistics.

I installed it via sudo apt-get install ntop on Ubuntu 2012.04, the daemon got started at the end of the install, without me doing anything special.

QUESTION: How to access the web interface?

http://localhost:4242 says Unable to connect.

I tried stopping the daemon and launching it in various ways:

sudo ntop -P /etc/ntop -W4242 -d
sudo ntop -P /var/lib/ntop/ -W4242 -d

But still Unable to connect.

share|improve this question
    
It should be http://hostname:3000/ or http://127.0.0.1:3000/ –  tijybba Jul 19 '12 at 10:35
    
That's it! I had read 4242 on some web page so I wasn't looking further... Could you please post this as an answer so that I can accept it? –  Nicolas Raoul Jul 19 '12 at 10:56
add comment

2 Answers

up vote 4 down vote accepted

You can view and configure it through http://hostname:3000/ or http://127.0.0.1:3000/

ntop focuses on :

  • Traffic measurement
  • Traffic monitoring
  • Network optimization and planning
  • Detection of network security violations

You can also go through the documentation and Man Pages for optimum usage.

share|improve this answer
add comment

There are two ways to access the web-gui for NTOP.

-w --> This uses an unencrypted connection (the default). Port 3000 unless overridden.
-W --> Uses SSL encryption.

Examples:

  1. Default Setup

    sudo ntop -d

    This would default to an unencrypted ntop service running on port 3000. To connect you would type http://[IP_ADDRESS_OF_SYSTEM]:3000 into the address bar of a web browser.

  2. Encrypted Setup

    sudo ntop -W 8080 -d

This results in an encrypted ntop service running on port 8080. To connect you would need to type https://[IP_ADDRESS_OF_SYSTEM]:8080 into the address bar of a web browser.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.