Port assignment

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
 
dogu012697Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pc012197Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.