Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd September 2006, 01:45
marra87 marra87 is offline
Member
 
Join Date: Sep 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default not ip-address in netstat command

Hi!

When I run
[root@localhost ~]# netstat -an | grep LISTEN

I get the following.
My IP-address is *.*.*.*
But I can't access my webserver at :81
How to get 0.0.0.0 to become my ip?


tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:81 0.0.0.0:* LISTEN
tcp 0 0 *.*.*.*:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:37500 0.0.0.0:* LISTEN
tcp 0 0 :::993 :::* LISTEN
tcp 0 0 :::995 :::* LISTEN
tcp 0 0 :::110 :::* LISTEN
tcp 0 0 :::143 :::* LISTEN
tcp 0 0 :::80 :::* LISTEN
tcp 0 0 :::21 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 :::443 :::* LISTEN
Reply With Quote
Sponsored Links
  #2  
Old 24th September 2006, 14:53
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What are the outputs of
Code:
ifconfig
and
Code:
netstat -tap
?
__________________
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 24th September 2006, 16:43
marra87 marra87 is offline
Member
 
Join Date: Sep 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ifconfig:
Code:
eth0      Link encap:Ethernet  HWaddr 00:0D:61:76:6B:3E
          inet addr:80.*.*.46  Bcast:80.*.*.47  Mask:255.255.255.252
          inet6 addr: fe80::*:*:fe76:6b3e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:48150 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43554 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:38907536 (37.1 MiB)  TX bytes:7376800 (7.0 MiB)
          Interrupt:17 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:292 errors:0 dropped:0 overruns:0 frame:0
          TX packets:292 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:70735 (69.0 KiB)  TX bytes:70735 (69.0 KiB)
netstat -tap:
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 *:59625                     *:*                         LISTEN      1373/rpc.statd
tcp        0      0 *:mysql                     *:*                         LISTEN      3079/mysqld
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1355/portmap
tcp        0      0 *:hosts2-ns                 *:*                         LISTEN      25557/ispconfig_htt
tcp        0      0 d2h.wris***d.no:domain     *:*                         LISTEN      25683/named
tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      25683/named
tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      25683/named
tcp        0      0 *:smtp                      *:*                         LISTEN      25649/master
tcp        0      0 *:imaps                     *:*                         LISTEN      2652/dovecot
tcp        0      0 *:pop3s                     *:*                         LISTEN      2652/dovecot
tcp        0      0 *:pop3                      *:*                         LISTEN      2652/dovecot
tcp        0      0 *:imap                      *:*                         LISTEN      2652/dovecot
tcp        0      0 *:http                      *:*                         LISTEN      25579/httpd
tcp        0      0 *:ftp                       *:*                         LISTEN      25700/proftpd: (acc
tcp        0      0 *:ssh                       *:*                         LISTEN      1595/sshd
tcp        0      0 d2h.wris***d.no:ssh        ti221110a081-8508.bb.:60127 ESTABLISHED 23179/1
tcp        0   2072 d2h.wris***d.no:ssh        ti132110a080-:bluectrlproxy ESTABLISHED 23146/0
Reply With Quote
  #4  
Old 25th September 2006, 14:22
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by marra87
ifconfig:
Code:
eth0      Link encap:Ethernet  HWaddr 00:0D:61:76:6B:3E
          inet addr:80.*.*.46  Bcast:80.*.*.47  Mask:255.255.255.252
          inet6 addr: fe80::*:*:fe76:6b3e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:48150 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43554 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:38907536 (37.1 MiB)  TX bytes:7376800 (7.0 MiB)
          Interrupt:17 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:292 errors:0 dropped:0 overruns:0 frame:0
          TX packets:292 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:70735 (69.0 KiB)  TX bytes:70735 (69.0 KiB)
netstat -tap:
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 *:59625                     *:*                         LISTEN      1373/rpc.statd
tcp        0      0 *:mysql                     *:*                         LISTEN      3079/mysqld
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1355/portmap
tcp        0      0 *:hosts2-ns                 *:*                         LISTEN      25557/ispconfig_htt
tcp        0      0 d2h.wris***d.no:domain     *:*                         LISTEN      25683/named
tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      25683/named
tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      25683/named
tcp        0      0 *:smtp                      *:*                         LISTEN      25649/master
tcp        0      0 *:imaps                     *:*                         LISTEN      2652/dovecot
tcp        0      0 *:pop3s                     *:*                         LISTEN      2652/dovecot
tcp        0      0 *:pop3                      *:*                         LISTEN      2652/dovecot
tcp        0      0 *:imap                      *:*                         LISTEN      2652/dovecot
tcp        0      0 *:http                      *:*                         LISTEN      25579/httpd
tcp        0      0 *:ftp                       *:*                         LISTEN      25700/proftpd: (acc
tcp        0      0 *:ssh                       *:*                         LISTEN      1595/sshd
tcp        0      0 d2h.wris***d.no:ssh        ti221110a081-8508.bb.:60127 ESTABLISHED 23179/1
tcp        0   2072 d2h.wris***d.no:ssh        ti132110a080-:bluectrlproxy ESTABLISHED 23146/0
Looks ok, and ISPConfig is running, too. Make sure your firewall doesn't block port 81, and also make sure your ISP doesn't block that port.
Which distribution do you use?
__________________
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
  #5  
Old 25th September 2006, 17:43
marra87 marra87 is offline
Member
 
Join Date: Sep 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Forget it...
It was an error in the certificate...
thanks for help!
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
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
FTP issues djkoelkast Installation/Configuration 19 14th September 2008 14:09
help on /etc/rc0.d/K20dnsctl -> ../init.d/dnsctl zimele General 13 23rd August 2006 17:06
FTP not working mimic General 4 21st August 2006 17:21
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 20:29


All times are GMT +2. The time now is 10:20.


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