Tuesday, June 12, 2007

Web Ports

Web Ports
=========


Some of you might have woundered what are sockets and ports.

Sockets are low-level access points to the IP stack. Socket is used to send and receive data where data generally travels in blocks (these blocks are referred to as packets) of few kilobytes at a time.

Also these packets which travel from source to destination must follow a set of rules i.e. protocol.

Also at the source / destination there is a term called port which defines the kind of service. This no can be between 1 to 65535. Eg: port no 80 is used to identify http service (webpage request by the client).

Hence when we type www.google.com, the client (i.e. our machine with a ip address (through web browser client software)) it asks the google server at port no 80 to provide a service of delivering the webpage google.com. During this process it must use various protocols http(hyper text transfer protocol - transferrng of webpage also known as hypertext docs) and tcp/ip protocol (transmission control protocol/internet protocol) for disassembling of data to packets at source and assembling of packets at destination and tranfer of packets. Also tcp is responsible for assigning headers informa like destination ipaddress, checksum, packet no etc etc..


Anyway here is a list of port nos (most of which are reserved):


20 - FTP data
21 - FTP control
25 - smtp email outgoing
53 - DNS
66 - Oracle SQL*Net
80 - http (webpages)
81 - http proxy, alternative http port, cobalt server administration port
110 - pop3 incoming email
143 - IMAP incoming email
443 - Secure Socket Layer (SSL)
445 - Ms Sql Server over NetBIOS
457 - unixware/netscape fasttrack server
1080 - socks proxy
1100 - oracle webcache listener
1241 - kazaa file sharing server
1352 - lotus domino (notes)
1433 - ms sql server 2000
1434 - ms sql server over tcp/ip redirector
1521-1530 - oracle
1944 - ms sql server 7
2301 - compaq insight manager, compaq survey utility
3128 - http proxy (squid, netcache, etc.)
3306 - mysql
4000 - oracle webcache listener
4001 - oracle webcache listener
4002 - oracle webcache listener
4100 - sybase 11.0 (jConnect)
5000 - sybase 12.x
5432 - postgreSQL
5800 - VNC HTTP Console Port #1
5801 - VNC HTTP Console Port #2
5802 - VNC HTTP Console Port #3
6346 - Gnutella (HTTP-like protocol)
6347 - Gnutella (HTTP-like protocol)
7001 - BEA WebLogic
7002 - BEA WebLogic
8000 - HTTP Proxy, Alternative HTTP Port, HP Web JetAdmin
8001 - BEA WebLogic
Port - Server
8005 - Apache Tomcat Administration Server (non-HTTP protocol)
8080 - HTTP Proxy, Alternative HTTP Port
8888 - HTTP Proxy, Alternative HTTP Port
30821 - Netscape Enterprise Server Administration Server









No comments: