Is it safe to close ports?

Tags:
Port
Port scanner
After port scanning is done, is it safe to close the ports which were listening, or are there better ways to ensure prevention from attacks? Is it possible to implement any such way through a java program?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Yeah, you can secure the listening ports by using the checkPermission with the SocketPermission(host,”resolve”) permission.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • curiousStudent
    Can you please elaborate the functionality of the command? I'm new to networking. Thanks!
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: