Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th May 2008, 21:37
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default Problem viewing NTOP web statistic page

I've managed to install ntop on my server which is running FC6. I can view the ntop web pages using lynx, ie.

Code:
lynx localhost:3000
However, when I try viewing it externally, it just timed out.

This is the output from netstat -tap

Code:
. . . . . . . . . .
tcp		0	0 *:http                      *:*	LISTEN	32370/httpd
tcp		0	0 *:ssh                       *:*   LISTEN  26618/sshd
tcp		0	0 localhost.localdomain:ipp   *:*   LISTEN  2342/cupsd
tcp		0	0 *:remoteware-cl             *:*   LISTEN  7329/ntop
tcp		0	0 *:https                     *:*   LISTEN  32370/httpd
. . . . . . . . . .
and this is the output from ps aux | grep ntop

Code:
ntop      7329  0.3  2.0 160900 20540 ?        Ssl  20:01   0:06 /usr/local/bin/ntop -d -P /usr/local/share/ntop -u ntop
I have disabled Selinux and I don't think my provider blocks the port, so I have no idea why I cannot view it externally.

Any help is appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 29th May 2008, 18:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

What's the output of
Code:
iptables -L
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th May 2008, 21:44
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko View Post
What's the output of
Code:
iptables -L
?
This is the output for the above

Code:
Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:https state NEW
ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain state NEW
ACCEPT     udp  --  anywhere             anywhere            udp dpt:tftp state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:tftp state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:smtp state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:pop3 state NEW
ACCEPT     udp  --  anywhere             anywhere            udp dpt:ntp state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp-data state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:mysql state NEW
ACCEPT     udp  --  anywhere             anywhere            udp dpt:mysql state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:personal-agent state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:teradataordbms state NEW
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:etlservicemgr state NEW
DROP       all  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere            state NEW,RELATED,ESTABLISHED
Does that help?
Reply With Quote
  #4  
Old 30th May 2008, 14:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
 
Default

You must open port 3000 in your firewall.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Simply viewing the web user&email tab resets the user's password!!! heftigrat General 16 23rd November 2006 14:53
Mail using postfix receive but cannot send garfabian Installation/Configuration 17 2nd September 2006 13:55
Problem with page 2/4 in the Howtos linuxfast HOWTO-Related Questions 4 21st September 2005 16:02


All times are GMT +2. The time now is 02:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.