1

I'm working on Java Application (game), and I need full internet access between server and client.

so I want to avoid getting blocked by the firewall by making this firewall popup appears when I execute the application for the first time.

the application will be shared in many PCs in my Class. so I cant set it manually for everyone.

Please click on this link. This popup that I need to appear as soon as I execute the application (or JAR) for the first time in any PC

Subhi Samara
  • 77
  • 1
  • 2
  • 11
  • Wouldn't it do this automatically? I think if a program is requesting any sort of network access from the computer windows handles it as a firewall request or am I wrong on this? Have you tried just running the program without making a firewall request? – Riley Carney Dec 09 '15 at 20:28
  • @RileyCarney I'm note sure how does it work with Firewall, and I need it to appear just to avoid any kind of problem while the application is tested infront of the Prof. and the class ^^ – Subhi Samara Dec 09 '15 at 20:36
  • Are you experiencing problems with the networking/connections in the application? I find that I never need to accept the firewall dialog with sockets in java applications... – rodit Dec 09 '15 at 20:38
  • As far as I know WIndows does ask automatically as soon as your program attempts to open a socket. The problem is that the users decision is then stored and remembered for the java excutable that is running the JVM (makes sense with normal executables, but not with the JRE). – Durandal Dec 09 '15 at 20:41

0 Answers0