LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-04-2009, 08:38 AM   #1
vlrk
Member
 
Registered: Dec 2008
Posts: 51

Rep: Reputation: 1
0.0.0.0:80 what does this mean?


I have an Embedded device.

It basically uses the Linux as a OS .

It works as a modem i.e having a wan interfaces and lan interfaces .

I Connect my PC to that Modem .

Now that modem becomes a router to me .

i can access that router using the g/w address ex: 192.168.1.1

Now when i type the netstat -aln in that device

i get the following information


tcp 0 0 192.168.1.1:139 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2420 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:4567 0.0.0.0:* LISTEN
tcp 0 0 255.255.255.255:5819 0.0.0.0:* LISTEN


1) here my first doubt is the http service is not running on the 192.168.1.1:80

it is running on 0.0.0.0:80 eventhough in my pc browser if i type the

192.168.1.1 how does it access the webservice.

2) what is this 255.255.255.255 ip ?


please guide me in understanding this network .

regards
 
Old 02-04-2009, 08:57 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
0.0.0.0 will mean "all IPs on this machine"
 
Old 02-04-2009, 11:42 AM   #3
vlrk
Member
 
Registered: Dec 2008
Posts: 51

Original Poster
Rep: Reputation: 1
255.255.255.255:5819?

I have seen the implementation of this device.

This 5819 is being used by upnp service

Here it runs a http server , to respond to the upnp requests from clients.

Here in implementation it shows as to listen on ip 192.168.1.1 port 5819

strangley some times the server runs in ip 255.255.255.255 where as debug message shows that the ip provideing to socket is still 192.168.1.1

ofcoures this type of behaviour is not happening regulary . once in 5 times it shows as running in 255.255.255.255:5819 where as in remaining times in 192.168.1.1:5819.

when it runs in 192.168.1.1 upnp is working fine and i could able to see the icon in my network places in my Lan PC .

I could not able to find where is this malfunctioning happening.

Can any body help me in this

regards
 
  


Reply



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 Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration