Solved

Port assignment

Posted on 1997-01-27
1
493 Views
Last Modified: 2013-12-16
I am developing a client Java applet that will be embedded into a Web page. The applet will communicate with an existing application.

Is it possible to assign a port number to an application. If possible how can I do it? (ie. Echo server has port no 7, telnet 25, smtp 23, http 80 vs vs., ports beyond 1024 are unused, how can I assign port 1025 to an executable program or do I need to define my own protocols to do that)?

Thanks

Dogu Arifler
 
0
Comment
Question by:dogu012697
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
pc012197 earned 200 total points
ID: 1811779
You can assign a port number to a service (under unix, simply add a line to /etc/services). However, this change is only local, it needs to be done on every client machine executing your application.

If you want an official assignment, you can contact the IANA (Internet Assigned Numbers Authority. Check RFC 1700 for details.

0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question