| Author |
Message |
jonny_morrisuk@yahoo.co.u *nix forums addict
Joined: 18 May 2005
Posts: 64
|
Posted: Tue Jan 17, 2006 10:41 pm Post subject:
localhost:4444
|
|
|
Hi!
Is there some definitive text or info on what localhost is (apart from
127.0.0.1) and how it can be used as in "localhost:4444"? What does
the ":4444" part mean and why might it not work (it is suppose to give
me the Maya online help server, but I get "Connection refused").
I've looked for info on the internet but couldn't find an answer to
this question.
Is the ":4444" part refering to a port? If so where can I check that
this port is available and possibly change/create it? Thanks. |
|
| Back to top |
|
 |
jonny_morrisuk@yahoo.co.u *nix forums addict
Joined: 18 May 2005
Posts: 64
|
Posted: Wed Jan 18, 2006 12:45 pm Post subject:
Re: localhost:4444
|
|
|
| Quote: | Yes, this refers to the port. The file /etc/services lists some
|
I see a service called Kerberos (which turns out to be a network
authentication encryption thing) is running on 4444, which raises more
questions: if Maya tried to install a document server to use port 4444
but that port has already been nabbed by this Kerberos thing, what
happens to the document server? I've looked on the Alias website and
found that I can change the port number that Maya looks at for the help
server, but there's little or no help on how to configure the help
server itself - there appears to be no entry for it in /etc/services
and no mention of it in the Alias troubleshooting guides. Would I be
correct in saying that what I really need is the name of the service so
that I can make my own entries in /etc/services and /etc/inetd.conf?
Without such help I'm not sure I'd be able to make the appropriate
entry in inetd.cong. |
|
| Back to top |
|
 |
jonny_morrisuk@yahoo.co.u *nix forums addict
Joined: 18 May 2005
Posts: 64
|
Posted: Wed Jan 18, 2006 2:40 pm Post subject:
Re: localhost:4444
|
|
|
Wow! I managed to solve the problem but it took some digging and two
stages.
Firstly there is the 4444 thing which is being used by the Kerberos
service (part of what might be called a firewall I presume, which is
why in some documents it says to disable the firewall - perhaps not
such a good idea these days). To get around this just place a file
called port.txt in /usr/aw/maya5.0/docs which contains a number not
currently in use in /etc/services, I went for 7009 as it's within the
range given to 'whatever' services (i.e. not reserved for root access
etc).
Second stage is that I found reference in one of the online Alias
knowledgebase support website pages to a java2 link which is installed
from the maya cd, it's supposed to create a softlink from a file
/usr/java2 to /usr/java2v14/bin/java but on my system java2 is a
directory and already contains java2 v 1.4.1, so I went to the maya doc
server startup script which is also in /usr/aw/maya5.0/docs and change
the line for IRIX:
JAVACMD=/usr/java2v14/bin/java;
to
JAVACMD=/usr/java2/bin/java;
Now the document server works from the maya Help menu. WHEW!! |
|
| Back to top |
|
 |
jonny_morrisuk@yahoo.co.u *nix forums addict
Joined: 18 May 2005
Posts: 64
|
Posted: Wed Jan 18, 2006 2:44 pm Post subject:
Re: localhost:4444
|
|
|
Woops! Forgot to add that I stopped and restarted the doc server by
running the scripts 'shutdownDocServer.sh' and 'startDocServer.sh'  |
|
| Back to top |
|
 |
jonny_morrisuk@yahoo.co.u *nix forums addict
Joined: 18 May 2005
Posts: 64
|
Posted: Wed Jan 18, 2006 11:20 pm Post subject:
Re: localhost:4444
|
|
|
Thanks for all your help, I've managed to fix the problem (as detailed
in my other reply), the links and advice you gave pointed me in the
right direction  |
|
| Back to top |
|
 |
(null *nix forums beginner
Joined: 16 May 2005
Posts: 8
|
Posted: Wed Feb 22, 2006 7:56 pm Post subject:
Re: localhost:4444
|
|
|
In article <1137537661.700184.6440@f14g2000cwb.googlegroups.com>,
jonny_morrisuk@yahoo.co.uk <jonny_morrisuk@yahoo.co.uk> wrote:
| Quote: | Hi!
Is there some definitive text or info on what localhost is (apart from
127.0.0.1) and how it can be used as in "localhost:4444"?
|
Localhost is indeed the loopback network access to the local host.
http://www.bellevuelinux.org/localhost.html
| Quote: | What does
the ":4444" part mean and why might it not work (it is suppose to give
me the Maya online help server, but I get "Connection refused").
I've looked for info on the internet but couldn't find an answer to
this question.
Is the ":4444" part refering to a port? If so where can I check that
this port is available and possibly change/create it? Thanks.
|
Yes, this refers to the port. The file /etc/services lists some
common ports and their usage. Many are not listed there. This list
http://www.iana.org/assignments/port-numbers
might be more complete.
The command "netstat -an" will show local services that are actually
active. An investigation of your particular maya setup might be
helpful. |
|
| Back to top |
|
 |
(null *nix forums beginner
Joined: 16 May 2005
Posts: 8
|
Posted: Wed Feb 22, 2006 7:56 pm Post subject:
Re: localhost:4444
|
|
|
In article <1137588359.784609.67340@g44g2000cwa.googlegroups.com>,
jonny_morrisuk@yahoo.co.uk <jonny_morrisuk@yahoo.co.uk> wrote:
| Quote: | Yes, this refers to the port. The file /etc/services lists some
I see a service called Kerberos (which turns out to be a network
authentication encryption thing) is running on 4444, which raises more
questions: if Maya tried to install a document server to use port 4444
but that port has already been nabbed by this Kerberos thing, what
happens to the document server?
|
If a server is already listening on a port, then a new server
will be unable to bind to this port and normally will not start.
| Quote: | I've looked on the Alias website and
found that I can change the port number that Maya looks at for the help
server, but there's little or no help on how to configure the help
server itself - there appears to be no entry for it in /etc/services
and no mention of it in the Alias troubleshooting guides.
|
More documentation would be helpful here.
Browsing the net suggests that Maya version 5 used 4444 as its default
port, but May version 6 uses 4446 and version 6.5 uses 4448. There might
be a file "port.txt" or somesuch that has the configuration.
| Quote: | Would I be
correct in saying that what I really need is the name of the service so
that I can make my own entries in /etc/services and /etc/inetd.conf?
Without such help I'm not sure I'd be able to make the appropriate
entry in inetd.cong.
|
Sometimes programs will grab a port number using the library call
getportbyname. In this case, the system connects the actual port number
to this name via an entry in /etc/services. But you do need to know
the name it is using. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|