answersLogoWhite

0


Best Answer

The client process needs a temporary port number. It tells the server to which port to reply (the TCP or UDP header includes information about the source and the destination port). The client, on the other hand, doesn't know in advance what port the server uses - unless the server uses a standard port number.

The client process needs a temporary port number. It tells the server to which port to reply (the TCP or UDP header includes information about the source and the destination port). The client, on the other hand, doesn't know in advance what port the server uses - unless the server uses a standard port number.

The client process needs a temporary port number. It tells the server to which port to reply (the TCP or UDP header includes information about the source and the destination port). The client, on the other hand, doesn't know in advance what port the server uses - unless the server uses a standard port number.

The client process needs a temporary port number. It tells the server to which port to reply (the TCP or UDP header includes information about the source and the destination port). The client, on the other hand, doesn't know in advance what port the server uses - unless the server uses a standard port number.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

The client process needs a temporary port number. It tells the server to which port to reply (the TCP or UDP header includes information about the source and the destination port). The client, on the other hand, doesn't know in advance what port the server uses - unless the server uses a standard port number.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is it that a server needs a fixed port number but client process can be given any random port number?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

1 For a communication session between a pair of processes which process is the client and which is the server?

with the Web, a browser is a client process and a Web server is a server process. With p2p file sharing, the peer that is downloading the file is labeled as the client, and the peer that is uploading the file is labeled as the server.


What is the name given to the process whereby a server authenticates a client and a client authenticates the server?

Mutual Authentication


A communication session between two hosts which host is the client and which is the server?

The process which initiates the communication is the client; the process that waits to be contacted is the server.


What does Transparency of Location mean in Client Server model?

the server is a process that can resite of same machine as a client or on a different machine the client software usually the location of the server from client by redirecting the service.....(upload by vams)


What controls application communication with server processes such as the Win32 subsystem?

with the Web, a browser is a client process and a Web server is a server process. With p2p file sharing, the peer that is downloading the file is labeled as the client, and the peer that is uploading the file is labeled as the server .


A client is communicating with a server on a different segment of the network how does the server determine what service is being requested by the client?

The server knows by the destination port number, which attaches a listening program to a specific protocol.


A client server network is also known as?

Pretty much a client server network is known as a client server network.


What ports need to be open for the client to use the FTP client software?

FTP is a TCP based service exclusively. There is no UDP component to FTP. FTP is an unusual service in that it utilizes two ports, a 'data' port and a 'command' port (also known as the control port). Traditionally these are port 21 for the command port and port 20 for the data port. The confusion begins however, when we find that depending on the mode, the data port is not always on port 20. In active mode FTP the client connects from a random unprivileged port (N > 1023) to the FTP server's command port, port 21. Then, the client starts listening to port N+1 and sends the FTP command PORT N+1 to the FTP server. The server will then connect back to the client's specified data port from its local data port, which is port 20. From the server-side firewall's standpoint, to support active mode FTP the following communication channels need to be opened: * FTP server's port 21 from anywhere (Client initiates connection) * FTP server's port 21 to ports > 1023 (Server responds to client's control port) * FTP server's port 20 to ports > 1023 (Server initiates data connection to client's data port) * FTP server's port 20 from ports > 1023 (Client sends ACKs to server's data port) In order to resolve the issue of the server initiating the connection to the client a different method for FTP connections was developed. This was known as passive mode, or PASV, after the command used by the client to tell the server it is in passive mode. In passive mode FTP the client initiates both connections to the server, solving the problem of firewalls filtering the incoming data port connection to the client from the server. When opening an FTP connection, the client opens two random unprivileged ports locally (N > 1023 and N+1). The first port contacts the server on port 21, but instead of then issuing a PORT command and allowing the server to connect back to its data port, the client will issue the PASV command. The result of this is that the server then opens a random unprivileged port (P > 1023) and sends the PORT P command back to the client. The client then initiates the connection from port N+1 to port P on the server to transfer data. From the server-side firewall's standpoint, to support passive mode FTP the following communication channels need to be opened: * FTP server's port 21 from anywhere (Client initiates connection) * FTP server's port 21 to ports > 1023 (Server responds to client's control port) * FTP server's ports > 1023 from anywhere (Client initiates data connection to random port specified by server) * FTP server's ports > 1023 to remote ports > 1023 (Server sends ACKs (and data) to client's data port)


Explain the different between peer to peer and client server configuration?

In Peer to peer the machines work as a workgroup machines and can access each other and they process themselves but in client server model all the requests of clients are sent to server it processes the request and send the result to client


If internet is a client server network?

For the internet; your web browser is the client and the web server is the server.


Which program is always running in client server?

Server program is always running in client server.


What is bad request?

It simply means the web server was unable to understand the request of the client and process it.