Networking Forums

Networking Forums > Computer Networking > Windows Networking > MVP please help

Reply
Thread Tools Display Modes

MVP please help

 
 
Valerie Hough
Guest
Posts: n/a

 
      08-11-2005, 09:06 PM
Hi,

I have a .NET client / server app developed in C# that uses synchronous TCP
sockets within a Windows 2003 Server Domain. I have 4 cases:

1) Server task runs from Server's desktop, client task runs from any
workstation.

2) Server task runs from Server's desktop, client runs from Server's
desktop.

3) Server task runs from any workstation, client runs from Server's desktop.

4) Server runs from any workstation, client runs from any workstation.

Cases 1, 3, and 4 all work.

Case 2 fails - client returns "No connection could be made because the
target machine actively refused it" message. (WSAECONNREFUSED)

Can anyone suggest why this happens?

Thank you in advance.

Valerie Hough


 
Reply With Quote
 
 
 
 
Valerie Hough
Guest
Posts: n/a

 
      08-12-2005, 08:04 PM
Furthermore, if I run either the client and the server as different users
from the 2003 Server's desktop, that also works fine. Perhaps this will help
in explaining the issue.

"Valerie Hough" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have a .NET client / server app developed in C# that uses synchronous
> TCP sockets within a Windows 2003 Server Domain. I have 4 cases:
>
> 1) Server task runs from Server's desktop, client task runs from any
> workstation.
>
> 2) Server task runs from Server's desktop, client runs from Server's
> desktop.
>
> 3) Server task runs from any workstation, client runs from Server's
> desktop.
>
> 4) Server runs from any workstation, client runs from any workstation.
>
> Cases 1, 3, and 4 all work.
>
> Case 2 fails - client returns "No connection could be made because the
> target machine actively refused it" message. (WSAECONNREFUSED)
>
> Can anyone suggest why this happens?
>
> Thank you in advance.
>
> Valerie Hough
>



 
Reply With Quote
 
Jason Gurtz
Guest
Posts: n/a

 
      08-16-2005, 04:25 PM
On 8/12/2005 16:04, Valerie Hough wrote:
> Furthermore, if I run either the client and the server as different users
> from the 2003 Server's desktop, that also works fine. Perhaps this will help
> in explaining the issue.


I have no idea why your system isn't working but as a concerned admin I
would suggest that you make your server application into a proper windows
service rather than requiring a machine to be logged in to run a desktop
app. Furthermore, a windows service can be configured to run under pretty
much any credentials you want (which would probably fix your issue and
enhance application security granularity) and can be scripted and
controlled more easily.

I'm sure your question would be much better answered in a development
newsgroup.

~Jason

--
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11