They are used by TCP and UDP for NetBIOS functions such as name resolution, session establishment, and IP datagrams.
actually these (6) ports kind of go hand in hand tcp 137, 138, 139, and udp 137, 138, 139. Don't fret when you see them listening on your IP addy when you type netstat -an, they are supposed to do that.Peace, BROM
Each process that wants to communicate with another process identifies itself to the TCP/IP suite by one or more ports. It's used to identify which higher-level protocol or application (process) it must deliver. Example: Port 80 is the web port, when your computer receives a packet with a request for port 80, it automatically knows that port 80 uses the web browser as its application. This is a simplified explanation, but it basically means this. The packets sent in TCP/IP contain a port number so that when a computer receives that packet, it knows where to direct it. When it receives a packet requesting port 21, it knows that the request is for FTP. Without the port, the computer wouldn't know what application to run. They only understand 0s and 1s. The only way for them to know whether you are using FTP, Telnet, Web, etc is through their ports. FTP port 21, telnet port 23, Web port 80. UDP port 137 = NetBIOS Name service
UDP port 138 = NetBIOS DGM Datagram service
TCP port 139 = NetBIOS NetBIOS session.These ports are always listening for incoming requests. You can block certain ports or should I say allow only certain ports to listen while on the Internet. By going to your network applet and selecting protocols tab click TCP properties, and then advanced button. Here you can select the ports you want traffic on, if you use the Internet, you may only want to allow ports 80, 25, and 110. This will allow you to receive your mail as well. I have never tested it, but those should be the only ports you need to use the Internet. Hope this helps! Peace, BROM
Joined: 22 Nov 1997
Online Status: Offline
Posts: 3
Posted: 06 Apr 2000 at 11:05
Re: Ports
whoa dude! Slow down, while you are kind of explaining properly, there is a lot of misinformation in your post."Port 80 is the web port, when your computer receives a packet with a request for port 80, it automatically knows that port 80 uses the web browser as its application."Wrong. Firstly, the computer and TCP stack don't know shit about what runs on what port. The HTTP protocol is set by default to run on Port 80, so the webserver would be listening on port 80, but the port on your machine that recieves the HTTP traffic is more than likely NOT 80, the local port is decided upon by your browser, the webserver doesnt care what port it is, and it's usally somewhere in the high thousands."When it receives a packet requesting port 21, it knows that the request is for FTP. Without the port, the computer wouldn't know what application to run"No, no, no!!! It doesnt know shit! Again, you are getting clients and servers mixed up. FTP traffic is sent to port 21 unless another port is specified, the computer doesnt know this is for the FTP server/daemon, but the default port for an FTP server to listen on is 21. There is nothing to stop somebody setting up an FTP server on Port 80 and an HTTP server on port 21. The computer doesnt know nor care whats running on these ports. And again, on the client side, the port is semi random, FTP sessions actually uses two local ports, but thats another matter.Basically what i am saying is that just because 110, 25, 23, 21 and 80 are used at the server side for POP3, SMTP, Telnet, FTP and HTTP respectively, doesnt mean the same ports are used at the client end.
I went back and reread my post my information is accurate as far as I know. I was giving VP an example as to why his computer was listening on ports 137-139. The only way I could do that was to give him a server-side perspective. So that basically when his computer receives a packet destined for tcp port 139, it is a request for a NetBIOS session. I just used the web and ftp, etc to put it into simlper terms. Peace, BROM
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum