handling ports - urgent


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers handling ports - urgent
# 1  
Old 02-08-2002
Question handling ports - urgent

Hi,
I am working in HP-UX workstation.
I have a software, which is mounted to my workstation from server. It uses a specific port for communication between my terminal and server, when i invoke the software.
The software is a Network licensed one.
If some other software uses the port that my software use. then my software fails to invoke.
Is there a way to restrict the port not to be used by other softwares.

Any idea would be greatly appreciated.
Thanks,
Anent
# 2  
Old 02-08-2002
Take a look at /etc/services and the man page for services. Also the software should have documented what port it uses and if you can change that port (usually in /etc/services).
thehoghunter
# 3  
Old 02-08-2002
hi,
Thanks for the info.
Is it possible to restrict the port that not to be used by other softwares. is there any way?

Thanks
Anent
# 4  
Old 02-08-2002
Each different software should be set up in /etc/services to use a particular port which, in a way, restricts it. To restrict the port, you may need some type of 'firewall software' to allow only specific traffic to the port in question.
thehoghunter
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies

2. UNIX for Dummies Questions & Answers

File handling

I have a file 1 298167 298168 1093209 1093210 1422663 I want to write a code where in I want to read contents of above file like first read is 1 second read is 298167 Substract second read from first and if this is greater than or less than 99,999. Similarly I want to traverse thru... (3 Replies)
Discussion started by: Guru148
3 Replies

3. Programming

Exception Handling C++

Hello All, I have a question ....which I am totally confused about! If I have a fxn foo in a program which returns a logical value. But it has a posssiblity to throw some exception. Now my exception handler returns a value as a string stating why the exception occured. But my... (1 Reply)
Discussion started by: mind@work
1 Replies

4. Shell Programming and Scripting

Handling Variables

Experts & Learned Folks, Im asking for a solution that Im not sure as how to handle. Owing to reasons of anonymity, I masked some of the text that Im searching for here. Ok. Here it goes. I have an output of script like below - THIS IS THE DATALEFT ON FIRST LINE WITH COUNT 75. THIS IS THE ... (7 Replies)
Discussion started by: ManoharMa
7 Replies

5. Shell Programming and Scripting

String handling

shell script to input two strings and stripe out the second string from the first string either from the beginning or from the end as per the user's choice (3 Replies)
Discussion started by: Priyanka Bhati
3 Replies

6. Shell Programming and Scripting

Error Handling

Helo Experts, I need a help in handling errors in shell script, wants my errors displayed in text file instead of command window.. My shell script is here; cd /cygdrive/s/Files for FILES in ./*.* do temp=`basename $FILES` if cp $FILES /cygdrive/r/CopyFile1/$FILES; then echo "copy... (5 Replies)
Discussion started by: CelvinSaran
5 Replies

7. Shell Programming and Scripting

2d array handling

Hi Friends, i have a file as given below.. value1,value2,value3,value4,value5 value1,value6,value7,value4,value8 value3,value5,value10,value11,value12 this is like 3 rows and 5 column file. I want to access this file in unix like 2d array. Plz suggest. Like.. arr gives value1... (2 Replies)
Discussion started by: sumit207
2 Replies

8. UNIX for Dummies Questions & Answers

handling a coredump on HP?

This works for all my normal executions. But on one machine, a coredump is expected on one command. We don't care and know it will always happen, but need to confirm the version info from the start of the output. This is output from the exe: $ ./Up -*-*- XXXXXXX UPDATE XXXXX Version... (7 Replies)
Discussion started by: brdholman
7 Replies

9. UNIX for Advanced & Expert Users

URGENT,URGENT- Need help tape drive installation

Hi, I am trying to attach tape drive to sun V890 running Solaris 9 on it. I have installed HBA(qlogic) in slot 1 of 0-8 slots and booted the system. I do not see HBAin prtdiag output. The tape drive is not attached to HBA. The tape drive I am going to attach is Sony AIT3. 1.How can I make... (3 Replies)
Discussion started by: sriny
3 Replies
Login or Register to Ask a Question