The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using LOM port to start boot solaris 10 RottingBadger SUN Solaris 2 04-01-2008 07:23 AM
network on solaris 10, through usb port...(urgent) wrapster SUN Solaris 0 03-15-2008 01:34 PM
Solaris 10 - dtlogin port chnage? kungpow SUN Solaris 5 02-05-2007 08:50 PM
Locked TCP port in Solaris 10 casphar SUN Solaris 5 12-15-2006 04:13 AM
Solaris 8 to many open port hezry79 SUN Solaris 3 03-29-2006 06:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-24-2006
Reza Nazarian Reza Nazarian is offline
Registered User
  
 

Join Date: Jun 2001
Location: Tehran, Iran
Posts: 61
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 (permalink)  
Old 05-05-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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 (permalink)  
Old 05-05-2006
buffoonix buffoonix is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 145
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 (permalink)  
Old 05-07-2006
Reza Nazarian Reza Nazarian is offline
Registered User
  
 

Join Date: Jun 2001
Location: Tehran, Iran
Posts: 61
Thanks a lot for your detail and informative replies
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:39 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0