Guys how do I close these open ports? All I have is a mobile service and spectrum Internet.
Can someone please help me with this?
|
Quote:
|
Code:
ss -tunap Find process using port 8080 Code:
fuser 8080/tcp Code:
fuser -k 8080/tcp |
what OS do you have? Ubuntu, Suse, Fedora or ?
Open ports, you mean in your Virtual Machine, Laptop, Desktop? As other suggested, you can use: ss command or the good old netstat like: netstat -tulpn How do you close it? Close the application that is listening to the specific port. If you have open the port on the router, then you have to go back to the router and disable or remove the configuration |
in general there are three ways:
1 find the process behind the port and stop it 2 use firewall 3 configure your router 4 switch off the host |
You need to use a firewall. I happen to like to use the shorewall, which "knows how to utter the right incantations correctly." :)
You set up the rules that you want using a fairly-straightforward configuration file, and shorewall does the magic (correctly ...) for you. Very nice. |
You are running some sort of web server. Whatever crappy distro. This should be closed by default.
Thumb of rule: all ports closed upon installation. Open as needed. This is not your fault obviously. Unless you have been asked during the installation if you want to run specific services and you confirmed it. Nevertheless distro is crappy workstation/desktop has no need to run server by default. I would change distro to something more sane. Take look at running services and disable whatever you don't need. Too many web server possibilities to guess what this would be. Knowing distro may help. Firewall should come later if at all. |
All times are GMT -5. The time now is 11:20 AM. |