Solved

Staging the server and the client (.NEt Remoting)

Posted on 2004-08-16
1
276 Views
Last Modified: 2010-04-15
We have a server application and many client applications which talk to each other. The configuration parameters are put in the database. Today we moved the server application to a different server. We are having the following problems both with the server and the clients.


With the server I get this error when I try to test it :
 
System.Net.Sockets.SocketException - Only one usage of each socket address is normally permitted

What I understand is that the same configuration paramters cannot be used again i.e. port number, url etc. If so how can I void the previous socket address?




with the Client :

System.Net.Sockets.SocketException - an existing connection forcibly closed by the remote host

No clue about this error?


0
Comment
Question by:tech_question
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
NipNFriar_Tuck earned 500 total points
ID: 11812945
From what I can tell the reason that you are getting this error is that there is already an application running on the server with the url:port that you want your applciation to run on.  This will cause both the error you get on the server and the error you get on the client.  The reason for the error on the client is that it is trying to execute a command that the application listening to on that port does not underdtand.

The resolution is basically the same for both a windows and a web application but how it is implemented may differ.  Basically on a windows application there is either an application configuration that you can change or you have to go into the code to change it, for the web it is probably setup via the site settings.  Also, the url:port will probably need to be changed on the client.  To be more specific I would have to know more information about the application.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question