cmd - How can i open a port in firewall with java -
i search way open port java socket in firewall, have idea cmd command or way thank you.
using cmd
if want open port on windows vista , higher can use following command
netsh advfirewall firewall add rule name="my_rule_name_incoming" dir=in action=allow protocol=tcp localport=4000 netsh advfirewall firewall add rule name="my_rule_name_outgoing" dir=out action=allow protocol=tcp localport=4000
note have run command on pc in question
Comments
Post a Comment