You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Aman Raheja <am...@netscape.net> on 2003/01/26 04:59:21 UTC

[users@httpd] HTTP ports

I have more of a HTTP question that apache.
When a user accesses a web-site, the browser picks up available port. 
For the next page requested another port is used and so on (http being a 
stateless protocol)
Are the ports selected always incremental. I mean 1034, 1038, 
1041,1047... and so on.
Thanks


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] HTTP ports

Posted by Jeff Cohen <ap...@gej-it.com>.
The outgoing port from the client machine will always be higher then 1024,
that's a TCP/IP RFC.
0-1024 is reserved for RFCs, there more RFCs that are higher then 1024 of
course, but that's the reason that it's not recommended to change any
default programs ports.

All the best,
Jeff Cohen

> -----Original Message-----
> From: Gary Turner [mailto:kk5st@sbcglobal.net]
> Sent: Sunday, January 26, 2003 12:24 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] HTTP ports
> 
> Aman Raheja wrote:
> 
> >I have more of a HTTP question that apache.
> >When a user accesses a web-site, the browser picks up available port.
> >For the next page requested another port is used and so on (http being a
> >stateless protocol)
> >Are the ports selected always incremental. I mean 1034, 1038,
> >1041,1047... and so on.
> >Thanks
> 
> I just played with this for a while.  It appears that the port number is
> incremented, but not necessarily by the same value.  Obviously, other
> apps than the browser(s) may be running, and picking up ports for their
> own use.  Is there a use for this that you're contemplating?
> --
> gt                                           kk5st@sbcglobal.net
> "Well, you order it from the 'Society of Hardware and Information
> Technology Helpers, Executive Administration Division' website -
> you're a member aren't you?"--BOFH
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] HTTP ports

Posted by Gary Turner <kk...@sbcglobal.net>.
Aman Raheja wrote:

>I have more of a HTTP question that apache.
>When a user accesses a web-site, the browser picks up available port. 
>For the next page requested another port is used and so on (http being a 
>stateless protocol)
>Are the ports selected always incremental. I mean 1034, 1038, 
>1041,1047... and so on.
>Thanks

I just played with this for a while.  It appears that the port number is
incremented, but not necessarily by the same value.  Obviously, other
apps than the browser(s) may be running, and picking up ports for their
own use.  Is there a use for this that you're contemplating?
-- 
gt                                           kk5st@sbcglobal.net
"Well, you order it from the 'Society of Hardware and Information
Technology Helpers, Executive Administration Division' website -
you're a member aren't you?"--BOFH

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org