Solved

no port 80 on window7 with  netstat -a -n -o

Posted on 2014-02-27
7
1,067 Views
Last Modified: 2014-02-27
Dear Experts,

Question-1
I restart my Window 7 computer , and type command netstat -a -n -o
to display all network port but I could NOT find any port about 80 (http port)
Why ?  and I go to  try  my other XP computer, it shows the 0.0.0 0:80 on
Local Address from netstat -a -n -o command output.

Question-2
When I open chrome browser on my window 7 computer, and
go to check netstat -a -n -o  command, and find the following output
Yes, of course since issue on question-1, I could NOT find any port of 80
But I think about how can I go to google.com default page on my chrome
browser without port 80 listen? And I check the following output, I found
something like  
  TCP    219.77.4.127:49708     74.125.128.120:443     ESTABLISHED     448

The 219.77.4.127 is my ISP address after check ipconfig command  and 74.125.128.120:443 is google.com 's https site.

Why the port for http on my local address is 49708 instead of 80 ?

Or some hidden software installed on my computer to switch port 80 to 49708
such as http proxy ? But I never use any http proxy on my  this window 7 computer .


Please advise
Duncan



TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       900
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
  TCP    0.0.0.0:554            0.0.0.0:0              LISTENING       1032
  TCP    0.0.0.0:2869           0.0.0.0:0              LISTENING       4
  TCP    0.0.0.0:10243          0.0.0.0:0              LISTENING       4
  TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING       580
  TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING       964
  TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING       500
  TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING       628
  TCP    0.0.0.0:49156          0.0.0.0:0              LISTENING       652
  TCP    127.0.0.1:2869         127.0.0.1:49703        TIME_WAIT       0
  TCP    127.0.0.1:2869         127.0.0.1:49704        ESTABLISHED     4
  TCP    127.0.0.1:5354         0.0.0.0:0              LISTENING       1620
  TCP    127.0.0.1:49157        0.0.0.0:0              LISTENING       1928
  TCP    127.0.0.1:49169        0.0.0.0:0              LISTENING       984
  TCP    127.0.0.1:49704        127.0.0.1:2869         ESTABLISHED     1032
  TCP    169.254.202.6:139      0.0.0.0:0              LISTENING       4
  TCP    219.77.4.127:49706     173.194.127.244:443    TIME_WAIT       0
  TCP    219.77.4.127:49708     74.125.128.120:443     ESTABLISHED     448
  TCP    219.77.4.127:49709     74.125.128.120:443     ESTABLISHED     448
  TCP    219.77.4.127:49710     74.125.128.94:443      ESTABLISHED     448
  TCP    [::]:135               [::]:0                 LISTENING       900
  TCP    [::]:445               [::]:0                 LISTENING       4
  TCP    [::]:554               [::]:0                 LISTENING       1032
  TCP    [::]:2869              [::]:0                 LISTENING       4
  TCP    [::]:10243             [::]:0                 LISTENING       4
  TCP    [::]:49152             [::]:0                 LISTENING       580
  TCP    [::]:49153             [::]:0                 LISTENING       964
  TCP    [::]:49154             [::]:0                 LISTENING       500
  TCP    [::]:49155             [::]:0                 LISTENING       628
  TCP    [::]:49156             [::]:0                 LISTENING       652
  TCP    [::1]:49158            [::]:0                 LISTENING       1928
  UDP    0.0.0.0:500            *:*                                    500
  UDP    0.0.0.0:4500           *:*                                    500
  UDP    0.0.0.0:5004           *:*                                    1032
  UDP    0.0.0.0:5005           *:*                                    1032
  UDP    0.0.0.0:5355           *:*                                    1228
  UDP    0.0.0.0:62511          *:*                                    1620
  UDP    127.0.0.1:1900         *:*                                    4652
  UDP    127.0.0.1:56461        *:*                                    3644
  UDP    127.0.0.1:59562        *:*                                    4652
  UDP    169.254.202.6:137      *:*                                    4
  UDP    169.254.202.6:138      *:*                                    4
  UDP    169.254.202.6:1900     *:*                                    4652
  UDP    169.254.202.6:5353     *:*                                    1620
  UDP    169.254.202.6:59561    *:*                                    4652
  UDP    219.77.4.127:1900      *:*                                    4652
  UDP    219.77.4.127:59560     *:*                                    4652
  UDP    [::]:500               *:*                                    500
  UDP    [::]:4500              *:*                                    500
  UDP    [::]:5004              *:*                                    1032
  UDP    [::]:5005              *:*                                    1032
  UDP    [::]:5355              *:*                                    1228
  UDP    [::]:62512             *:*                                    1620
  UDP    [::1]:1900             *:*                                    4652
  UDP    [::1]:59559            *:*                                    4652
  UDP    [fe80::94a8:db5:2904:ca06%12]:1900  *:*                                    4652
  UDP    [fe80::94a8:db5:2904:ca06%12]:5353  *:*                                    1620
  UDP    [fe80::94a8:db5:2904:ca06%12]:59558  *:*                                    4652

Open in new window

0
Comment
Question by:duncanb7
  • 4
  • 3
7 Comments
 
LVL 11

Assisted Solution

by:Miftaul
Miftaul earned 500 total points
ID: 39891334
When we are opening www.google.com your computer opens a TCP session on its local dynamic port with the web servers port 80 ()for http) and 443(for https).

The only time you might see port 80 open on your local computer is when your computer is providing some sort of http services.
0
 
LVL 13

Author Comment

by:duncanb7
ID: 39891342
In other words, google chrome browser will open TCP session to use dynamic port instead of 80. So the http TCP/IP is not just working on http port 80 only but also other port
such as 49000 to 66500.  Right ?  Why he is doing that way for dynamic port, for security ?
0
 
LVL 11

Expert Comment

by:Miftaul
ID: 39891408
Yes, your computers dynamic port will establish a TCP session with the web-servers well known port (0-1023).

Port 80 is registered for http service and 443 for https. The device that providing these services will open these ports. and the host computers accessing the services will have their dynamic ports open.

Here is the list of ports - Link
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 13

Author Comment

by:duncanb7
ID: 39891421
So you mean google chrome browser don't use  port 80, Right ?

And why chrome browser USE dynamic   ports instead of static port ?
0
 
LVL 11

Accepted Solution

by:
Miftaul earned 500 total points
ID: 39891459
Google chrome browser uses your local dynamic port to establish a TCP session with google.com.

TCP session is established between your local port and the remote server port. Here the local port will be Dynamic Ports (49152-65535) and the remote server port is 80 for http webpages and 443 for https.

The remote server ports are actually well known port (0 - 1023), it the service that you are accessing will determine which remote port the session needs to be established.
1
 
LVL 13

Author Comment

by:duncanb7
ID: 39891483
Now better understand after your comment and I can verfiy it from that
I go to check the client and server communication port on $_SERVER  variable from
php code between my linux server and my window 7 computer

The php code  report $_SERVER['REMOTE_PORT'] and  $_SERVER['REMOTE_ADDR'] that is
matched to netstat command output on my window 7 computer.

In other words, when I try http://mylinuxsite.com/server.php on chrome browser , it will
go to my server port 80 since http or no http typing will be interpreted as access server TCP/IP port 80 on browser and https for 443.

The connection is between server 80 port and my computer dynamic port when
typing http on browser.

Why it use dynamic TCP port for browser that is I believe  because it can use it for multi-thread tasking process so that  we can create many instances or  type browsers http accesses at the same time  wihtout waiting

Duncan
0
 
LVL 13

Author Closing Comment

by:duncanb7
ID: 39891486
Totally agree your comment. Thanks for your reply,

For my memo only:
-the issue in this thread is NOT related to Window 7 & or XP system
-Why my linux server can handle many  http accesses  with just only TCP/IP http port 80,
that is because apache linux server is multi-process that
mentioned on this link , http://en.wikipedia.org/wiki/Apache_HTTP_Server
 

Duncan
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question