answersLogoWhite

0


Best Answer

The port number which you use is arbitrary as long as you use the same port for the listener (daemon/server) as you use for the client. The IP address which you use is 127.0.0.1.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What port number should you use when writing the code of client and server on same system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

You are testing client server program how can test it in one computer making a single PC both client and server?

It's very simple. You just need to tell the client to connect to ip address 127.0.0.1, which is local host. You also define the port number for the client. On Server side, you just need to listen to that port. Then run both client and server programs on the same PC and it should work.


How does a communications server work?

A communications server works by connecting the server and the client through streaming. A good communications server should have a powerful programming model.


How does a commune work?

A communications server works by connecting the server and the client through streaming. A good communications server should have a powerful programming model.


How do you use silabs client?

I suppose you mean silabs as in the moparscape client to run a private server? Well if you want to use the client you download it on the moparscape forums then you will get a .Rar file, download .rar if you dont have it, then extract it to desktop. Open the file and there will be a run option. Click run, this should open a webpage and a client. In the ip place on the client, put whatever ip you are using on the server. Then put in your username and pass. It should then log into that server. =)


Pitfalls of client server model?

* Traffic congestion on the network has been an issue since the inception of the client-server paradigm. As the number of simultaneous client requests to a given server increases, the server can become overloaded. Contrast that to a P2P network, where its aggregated bandwidth actually increases as nodes are added, since the P2P network's overall bandwidth can be roughly computed as the sum of the bandwidths of every node in that network. * The client-server paradigm lacks the robustness of a good P2P network. Under client-server, should a critical server fail, clients' requests cannot be fulfilled. In P2P networks, resources are usually distributed among many nodes. Even if one or more nodes depart and abandon a downloading file, for example, the remaining nodes should still have the data needed to complete the download email:-tsk0707@gmail.com


Pitfalls of client server programming?

* Traffic congestion on the network has been an issue since the inception of the client-server paradigm. As the number of simultaneous client requests to a given server increases, the server can become overloaded. Contrast that to a P2P network, where its aggregated bandwidth actually increases as nodes are added, since the P2P network's overall bandwidth can be roughly computed as the sum of the bandwidths of every node in that network. * The client-server paradigm lacks the robustness of a good P2P network. Under client-server, should a critical server fail, clients' requests cannot be fulfilled. In P2P networks, resources are usually distributed among many nodes. Even if one or more nodes depart and abandon a downloading file, for example, the remaining nodes should still have the data needed to complete the download


What rule should you follow for the Client Access Server role?

I would suggest you to keep the default settings.


What port should you configure on your IMAP4 client so that they can connect to your exchange server using SSL?

993


Is terminal server load balancing the responsibility of the client or the host?

Server load balancing is almost always the hosts responsibility. Even in the case of terminal severs, the host should ensure proper connections to the server.


How does the server know?

We can check from the server by using PING command. We should use give the client name or IP address followed by the PING commands. For example PING 128.0.0.156 -n 4 Where -n and the 4 is no echo requests to send times. If the client is connect with the server the reply is coming with some informations.


To log on from any of the six computers What type of network should be used?

client-server network


What type of network should I use for a small company of 20 employees peer to peer or client server?

For the basics, if you are expecting to expand and gain more employees you would want to use a client server. Otherwise, using a peer to peer is easier to set up.