Solved

Port assignment

Posted on 1997-01-27
1
477 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
1 Comment
 
LVL 3

Accepted Solution

by:
pc012197 earned 200 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now