D
D
dayz7772014-09-28 13:37:39
Java
dayz777, 2014-09-28 13:37:39

Why can't connect to port 110?

I am writing a network application in Java. And when you try to connect to port 110, an exception is thrown, what could be the matter?
ServerSocket socket = new ServerSocket(110);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bimeg, 2014-09-28
@dayz777

If I'm not mistaken, Linux requires root rights to bind to a port less than 1024.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question