Retrieve a port alias from Java - TechRepublic
General discussion
September 12, 2001 at 09:45 PM
damien.mannion@yorkshirew

Retrieve a port alias from Java

by damien.mannion@yorkshirew . Updated 24 years, 8 months ago

I have an existing port alias defined in the Winnt\System32\drivers\etc\Services file: msgconsole 15200/tcp

How can I retrieve the port number ‘15200’ from within a Java program by using the alias of ‘msgconsole’?

This discussion is locked

All Comments