Re: TCP socket question




"Markgoldin" <markgoldin_2000@xxxxxxxxx> wrote in message news:OXa3IJJ0IHA.5928@xxxxxxxxxxxxxxxxxxxxxxx
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?

I don't know use goggle and do a search on 'Connection is forcefully rejected" maybe you'll find a resolution.


"Mr. Arnold" <MR. Arnold@xxxxxxxxxx> wrote in message news:ePzKnEJ0IHA.4476@xxxxxxxxxxxxxxxxxxxxxxx

"Markgoldin" <markgoldin_2000@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.



.



Relevant Pages

  • Re: Have I been compromised? chkrootkit: "Warning: Possible LKM Trojan installed" - nmap:
    ... assuming netstat wasn't one of the programs ... listed there for port 1313 correspond to the PIDs chkproc spit out. ... all your services while you upgrade all the software that needs upgrading. ... > Every week or so I'll run chkrootkit, mostly just because I feel I ...
    (comp.os.linux.security)
  • RE: I think Ive been hacked...please help!
    ... > connecting within seconds of boot. ... port scanning the machine from the outside ... experience performing incident response activities, ... one will run netstat and see something listening on ...
    (Incidents)
  • Re: Help, my machine has been hacked
    ... >> also take a look at processes running in your system, ... >> opened (netstat -tupan), environment changesetc. ... If you provide port 80 to the outside ... filter invalid packets, in particular tcp scans with invalid flags, where ...
    (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: Detecting Internet activity
    ... connection and then use netstat tool to confirm whether or not the relevant ... port is 20 or 21. ... Title: Enhance netstat ... >- when I open a FTP connection, none of the listed ports match the ...
    (microsoft.public.win32.programmer.networks)