Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

question on port number from client to host

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


rckv at yahoo

Jul 17, 2008, 6:24 PM

Post #1 of 2 (114 views)
Permalink
question on port number from client to host

hello

I am using apache http server to serve some xml requests from clients.
the http server hands over the incoming XML to back end application. the back end application creates the response and hands over to HTTP server to be sent out. for some requests, the client port is changing to a different one.

the network trace shows the following for some requests.

incoming request
host port:80 client port:1234

outgoing response:
host port:80 client port:3456

Could anyone please let me know if this is acceptable behavior? I wonder if this could be related to mismatched responses on the client side that I am facing.







---------------------------------------------------------------------
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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


friedo at friedo

Jul 18, 2008, 9:05 AM

Post #2 of 2 (102 views)
Permalink
Re: question on port number from client to host [In reply to]

That's how it works. Outgoing HTTP requests bind to a random unused,
unprivileged port on the client machine and connect to port 80 on your
server. A different outgoing port will be used on subsequent requests.



Mike

On Thu, Jul 17, 2008 at 9:24 PM, RCKV <rckv[at]yahoo.com> wrote:
> hello
>
> I am using apache http server to serve some xml requests from clients.
> the http server hands over the incoming XML to back end application. the back end application creates the response and hands over to HTTP server to be sent out. for some requests, the client port is changing to a different one.
>
> the network trace shows the following for some requests.
>
> incoming request
> host port:80 client port:1234
>
> outgoing response:
> host port:80 client port:3456
>
> Could anyone please let me know if this is acceptable behavior? I wonder if this could be related to mismatched responses on the client side that I am facing.
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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[at]httpd.apache.org
> " from the digest: users-digest-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.