Everyday people get hacked and in most cases, hackers use open ports to access the systems and take control of them. You should only open ports that you really need. Remember, always use good firewall. My recommendation is to try Comodo Firewall. It’s really good firewall and it will give you info about every connection that goes to and from your computer.
Visit https://www.grc.com/x/ne.dll?bh0bkyd2 and run the test. After running the test, the open ports will be showed in red, and closed ones in green.