Unix Technical Forum

Re: Need to open a specific port

This is a discussion on Re: Need to open a specific port within the comp.unix.solaris forums, part of the Solaris Operating System category; --> ErnieD wrote: > I am fairly new to Solaris and have been asked by one of our > developers ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 01:00 PM
Martin Schoen
 
Posts: n/a
Default Re: Need to open a specific port

ErnieD wrote:
> I am fairly new to Solaris and have been asked by one of our
> developers to open a specfic port on our E450 running Solaris 8 so he
> can access it via Oracle. The machine is only used internally so I'm
> not too concerned about opening the one additional port. But my
> problem is I do not know how to do it...I have search on the message
> board and have found some entries regarding /etc/inetd.conf but cannot
> seem to find anything about opening ports, everything concerns closing
> them (which I can understand). Any help would be greatly appreciated
> by this newbie!


This developers question is, with all respect, a bit stupid.

To 'open a port' on your machine you need some sort of server listening
on that port. You can do this by several ways (little Perlscripts,
netcat, grown up applications, ...).
In your case methinks he wants an oracle instance to listen on that port.

On the other hand, it's more likely that he wants to have someone open
that port on a device *between* his and your server, e.g. a firewall, to
let some existing applications talk to each other.

Just my 2 cents

Martin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 01:01 PM
ErnieD
 
Posts: n/a
Default Re: Need to open a specific port

Martin Schoen <noreply@vamosphoto.de> wrote in message news:<bdhlpl$fqd$00$1@news.t-online.com>...
> ErnieD wrote:
> > I am fairly new to Solaris and have been asked by one of our
> > developers to open a specfic port on our E450 running Solaris 8 so he
> > can access it via Oracle. The machine is only used internally so I'm
> > not too concerned about opening the one additional port. But my
> > problem is I do not know how to do it...I have search on the message
> > board and have found some entries regarding /etc/inetd.conf but cannot
> > seem to find anything about opening ports, everything concerns closing
> > them (which I can understand). Any help would be greatly appreciated
> > by this newbie!

>
> This developers question is, with all respect, a bit stupid.
>
> To 'open a port' on your machine you need some sort of server listening
> on that port. You can do this by several ways (little Perlscripts,
> netcat, grown up applications, ...).
> In your case methinks he wants an oracle instance to listen on that port.
>
> On the other hand, it's more likely that he wants to have someone open
> that port on a device *between* his and your server, e.g. a firewall, to
> let some existing applications talk to each other.
>
> Just my 2 cents
>
> Martin


I guess I should be more specific...He would like to be able to ssh or
telnet to port 9003 on the Solaris machine from a Linux machine. Do I
just need to add an entry to /etc/services, something like: ssh
9003/tcp and then one for udp as well?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 01:01 PM
Darren Dunham
 
Posts: n/a
Default Re: Need to open a specific port

ErnieD <edumas@petedge.com> wrote:
> I guess I should be more specific...He would like to be able to ssh or
> telnet to port 9003 on the Solaris machine from a Linux machine. Do I
> just need to add an entry to /etc/services, something like: ssh
> 9003/tcp and then one for udp as well?


No, you'd have to run a server and have it use that port.

Which raises the question, why couldn't he just ssh or telnet normally?
What on earth is the deal with 9003?

--
Darren Dunham ddunham@taos.com
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:53 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com