Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a way to make only java be allowed to use a certain port?

OS: Windows Web Server 2008 R2

No access to router (hosted box).

share|improve this question
You need to put a lot more detail in your question please, at least your OS. – Ryan Ries Jan 2 '13 at 14:53
I added some stuff, anything else? (also added which application now: java) – Deniz Zoeteman Jan 2 '13 at 14:55

1 Answer 1

You could use a personal firewall to enforce a rule for this specific behavior. For example, Windows Firewall with Advanced Security snap-in supports rules on port and application level. See Microsoft's documentation on Windows Firewall with Advanced Security on Windows Server 2008 R2 or this page for a quick tutorial on rule setup.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.