Re: TCP socket question



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. 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: 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)
  • RE: a tool like nestat
    ... Windows has a tool that is more robust than netstat, it's called Port ... >Subject: a tool like nestat ...
    (Security-Basics)