• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

security issues with vista

polarbear6

Golden Member
well i just finished off my exams so i thought i will do my favourite work (PROGRAMMING)
thought will give give java a shot
everything works fine with net beans
then i try to do some socket programming

but when i try to open a socket on my computer
i get the exception that i/o rights denied
my first suspection is the unnesasary (sorry can remember the spelling for this word)
security that comes with vista

is there a way to just turn this down for all my files and for all my connections 🙁


if it is of any use here is my source code that i have been trying
try {
echoSocket = new Socket("GS1", 7);
out = new PrintWriter(echoSocket.getOutputStream(), true);
in = new BufferedReader(new InputStreamReader(
echoSocket.getInputStream()));
} catch (IOException e) {
System.err.println("Couldn't get I/O for "
+ "the connection to: taranis.");
System.exit(1);
}
that catch things works out and i get the error message 🙁
 
Another reason that a bind() call will fail (besides security permissions) is if a service is already using the requested port. I'm not aware of how it works in Java, but if that '7' in your 'new Socket()' call is supposed to be a port number, you should be aware that the 'echo' service routinely uses port 7 and that is probably why you are disallowed from binding to the port.
 
Back
Top