I'm working behind a proxy and I save my code using github.com .
My snippets of java code contain some system parameters to tell java about our proxy:
System.setProperty("http.proxyHost", "xxxxxxxxx");
System.setProperty("http.proxyPort", "1234");
aside from specifying those parameters on the command line or storing them in a config file, is it safe to publish this IP on a public server ? Could a hacker use it to attack my server ?