I ' m looking to buy an OG Xbox . <| sep |> If the server is exposing a publicly accessible IP it will be constantly getting attacked by various sources , although most of these will be just dumb bots testing for common vulnerabilities and hoping you have exactly the one they are testing for . I ' m not sure what your java application does , but the fact that it runs in a JVM won ' t protect you if this application has the ability to read and write files on your system . I ' m not an expert on the JVM , but I believe there are ways to restrict the JVM from performing certain operations for security purposes . Again , I ' m not sure what your application does , but it ' s likely that if it was developed by someone else they may have taken into account the fact that it will be exposed to connections coming from anywhere on the internet , and taken steps to make sure that no one can do anything malicious toward you . If , however , there is an unpatched bug in the application , there are still ways that attackers can use it to compromise your system .