How to define a port in solaris 8


 
Thread Tools Search this Thread
Operating Systems Solaris How to define a port in solaris 8
# 1  
Old 04-24-2006
How to define a port in solaris 8

Dear experts
I need to define a port with number 15291 in my solaris8 Workstation to be able to comunicate from my ps with an installed software on the workstation. How and where should I define this port in solaris8 workstation.
Very Best Regards
Reza
# 2  
Old 05-05-2006
Ports are defined in /etc/services. /etc/inetd.conf should have the whatever process you wanted running defined.

This is explained a bit in this thread
# 3  
Old 05-05-2006
Adding the port number and service name to your /etc/services
doesn't do a thing at all.
This file is merely there for services or programs that look it up
through the getserv* syscalls.
What you need is a program that would bind a listening socket
to that port.
Such programs are usually daemons, and are either running stand-alone
or for ease of implementation are started by super servers such as
inetd or xinetd.
If you have a client running on another workstation
you would need some server counterpart to install on your solaris box.
If you want to define your own port number for your service
you better refer to the
list of port numbers
from IANA in order to avoid clashes.
# 4  
Old 05-07-2006
Thanks a lot for your detail and informative replies
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 10/eai port

When I attempt to telnet from a remote host or local to the eai port of server B I get the following error. ***ERROR: You must be admin to run this script You are root. Connection to localhost closed by foreign host. But, I'm logged in as admin in both instances. Has anyone experienced... (0 Replies)
Discussion started by: palu1124
0 Replies

2. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

3. Solaris

Solaris 10: How to just open a port - nothing else

Hi there, I tried just open a port but I failed ;-( # telnet localhost 9876 That should work so I did ... # vi /etc/services myport 9876/tcp # my port # svcadm restart inetd -> New pid, see ps - ef | grep inet # netstat -an | grep 9876 No port 9876 is waiting ;( #... (4 Replies)
Discussion started by: System
4 Replies

4. Solaris

Open port on Solaris 10

Hi All, I am installing Infosphere (ETL tool) on solaris 10. One of the requirement is to open multiple ports for different apps that will be installed. I ran netstat -n | grep 9080 (,etc) but that did not return anything. I have attached the requirement. Can anyone guide me about how to... (3 Replies)
Discussion started by: sumeet
3 Replies

5. Solaris

ip and port forwarding in Solaris 10

Hi; I have the following issue: I have a Solaris server running an old applications which connects to an http server in other server at certain port. The thing is that the http server has changed its ip and port and the addres in the app is hard coded and touching the app by now is out of the... (0 Replies)
Discussion started by: ppereira
0 Replies

6. Solaris

Solaris Port Monitoring

I would like to know if it is possible to read from an I/O Port in solaris. I need to monitor the parallel port of 1 PC and save all the incoming and outgoing messages. I use a SPARC Solaris running Solaris 2.5.1. I have seen a driver for x86 based systems but none for SPARC. Any help on how to... (8 Replies)
Discussion started by: devjay
8 Replies

7. Solaris

Port/IP Forwarding in Solaris 10.0

Hi, I am looking out a way to forward all UDP traffic coming on ports 3001,3002,3003 and 3004 on server 10.2.45.200 to corresponding ports of server 10.2.45.197. I am using Solaris 10.0. -bash-3.00$ uname -a SunOS airtelussd2 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V445 Is... (6 Replies)
Discussion started by: vikas027
6 Replies

8. Solaris

port on solaris 10

when i connecting an usb device to a ubuntu box. i know its on /dev/ttyUSB0 port from dmesg. and i can do simple command with minicom connect to the port. however when i connecting the same usb device to solaris 10 platform and i do dmesg. i get Oct 31 14:50:02 karma usba: USB 1.10 device... (7 Replies)
Discussion started by: conandor
7 Replies

9. Solaris

Solaris 8 to many open port

hi all, My OS is solaris 8 with core system installation only. so far everything works fine. by i do some testing from my xp pc as client to nmap and scan opening port to my solaris. the result as below: Initiating SYN Stealth Scan against 10.10.10.10 at 16:25 Discovered open port 21/tcp on... (3 Replies)
Discussion started by: hezry79
3 Replies
Login or Register to Ask a Question