-
March 3rd, 2003, 07:05 PM
#1
-
March 3rd, 2003, 07:10 PM
#2
you can use netstat -a to view which ports are currently open. as far as opening and closing ports.. you can't do that the command prompt. you'd need to kill the program/service running the open port.
-
March 3rd, 2003, 07:15 PM
#3
Senior Member
That is what I needed to know-Thanks!!
So if a program is not running the port is not opened?
the only way to fix it is to flush it all away-tool
-
March 3rd, 2003, 07:25 PM
#4
Correct. All ports are closed by default, it requires a program or service to open a port to listen on.
Don\'t SYN us.... We\'ll SYN you.....
\"A nation that draws too broad a difference between its scholars and its warriors will have its thinking done by cowards, and its fighting done by fools.\" - Thucydides
-
March 3rd, 2003, 07:33 PM
#5
I'll attempt to explain this but I'm sure the most experienced people on the board will come along and explain it better...
Applications/services require access to the internet so they chose a path (port) out of your computer.. of which they have roughly 65k to choose from. Most applications/services have default port... which people are familiar with.
SMTP - 25
Telnet - 23
FTP - 21
HTTP - 80
and so on... so when someone enters a website in their browser it knows by default to connect to the address of the site entered on port 80.. although other ports can be specified. For a port to be open on your computer you have to have some sort of software running on the port so the user can actually connect to it... in the case of HTTP some of the more common examples would be apache on *nix and IIS on win... since you're working with Win will stick with that... on Windows (excluding 9x) services are started and run (you can control these threw administrative tools --> services (found on your start menu and/or your control panel)
These services can include FTPd, HTTPd and SMTP if you have IIS isntalled and running. disabling these will close those ports. There is also the Windows Terminal Service and others.
Your other option is the task manager (Ctrl+Shift+Esc).. as a side note you will notice 1 or more copies of SVCHost running... this is what runs most of the services you saw in the Service Manager. Other programs which require open ports will be seen in the Task Manager. for example. I don't use IIS on my win system. I use Apache and GuildFTPd.. so when I open the task manager i see apache.exe and guildftpd.exe.. those are both opening ports. Some ports are opened on start-up if the program runs on start... otherwise they will be opened when you run the program.. If you are suspicious of something you see running, try Spybots Search and Destroy it has a great utility for identifying start up programs and what they do.... I hope this helps you out a bit, sorry for the clutter.
-
March 3rd, 2003, 10:20 PM
#6
Hey jxrry,
I understand that you're intrested in learning about ports and seeing them on your computer... When I was interested in that, one of my friends directed me to a neat program called "Antiyports". This program enables you to view all active ports, you can also use the kill process to deactivate open ones.
Here's the link... its the one at the top (antiyports.exe)
http://www.cyf-kr.edu.pl/ftp/winnt/access.html
Have fun with it, the best way I learn is just by tinkering around with programs. Hope this helps.
--Peace
The real question is not whether peace can be obtained, but whether or not mankind is mature enough for it...
-
March 4th, 2003, 03:56 AM
#7
Senior Member
thanks I will get it after this
the only way to fix it is to flush it all away-tool
-
March 4th, 2003, 04:37 AM
#8
Another cool port tool you might want to consider is Active Ports.
Active Ports - easy to use tool that enables you to monitor all open TCP/IP and UDP ports on the local computer. Active Ports maps ports to the owning application so you can watch which process has opened which port. It also displays a local and remote IP address for each connection and allows you to close any port. Active Ports can help you to detect trojans and other malicious programs.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|