Re: TCP socket question



On Jun 17, 11:53 am, "Markgoldin" <markgoldin_2...@xxxxxxxxx> wrote:
I do not see anything like this.
And this is the C# code that was working fine (I did not use netstat though
before) but I have a program that connects to the port my C# program is
listening to and it worked fine.
Now, when I try to connect to that port from my non-C# program I am getting
"Connection is forcefully rejected .." error.
Any idea?

"Mr. Arnold" <MR. Arn...@xxxxxxxxxx> wrote in messagenews:ePzKnEJ0IHA.4476@xxxxxxxxxxxxxxxxxxxxxxx





"Markgoldin" <markgoldin_2...@xxxxxxxxx> wrote in message
news:%23u1%23U8I0IHA.2384@xxxxxxxxxxxxxxxxxxxxxxx
If I create a program that listens to a port then should netstat show
that when I run the program? If yes, what exactly that command would
show?

The port the IP and the port's state.

There is also TCPView, ActivePorts and Currports that give port and
application using port information, which all of the solutions are free.

You can also use netstat /?  to display netstat's help and shows the parms
that can be used and the information returned by using those parms.- Hide quoted text -

- Show quoted text -

do a telnet localhost XXXX and see what happens, maybe you have a
firewall somewhere
.



Relevant Pages

  • Re: Cant connect remotely
    ... if I run netstat -a on the machine it doesn't show port 1433 to be listening ... > from the local machine as telnet localhost 1433. ...
    (microsoft.public.sqlserver.msde)
  • Re: TCP 6006 and echo (port 7) Mandrake (possible new trojan?)
    ... i used netstat -altpu and found that port 6006 is ... listening. ...
    (comp.os.linux.security)
  • Re: TCP socket question
    ... when I try to connect to that port from my non-C# program I am getting ... application using port information, which all of the solutions are free. ... You can also use netstat /? ... that can be used and the information returned by using those parms. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: TCP socket question
    ... And this is the C# code that was working fine but I have a program that connects to the port my C# program is listening to and it worked fine. ... There is also TCPView, ActivePorts and Currports that give port and application using port information, which all of the solutions are free. ... You can also use netstat /? ... to display netstat's help and shows the parms that can be used and the information returned by using those parms. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Network Configuration...
    ... I found my port information. ... viewing/chaning the ports SQL ... >Kevin McDonnell ...
    (microsoft.public.sqlserver.security)