1833883 Members
1485 Online
110063 Solutions
New Discussion

Re: port question

 
SOLVED
Go to solution
navin
Super Advisor

port question

Hello ,right now in my server (hp rp3440) there is a ov application running.it is accessed as server:/port no. Client would like to have the link as http:/server name
with out providing the port in the link ..how can we perform this
please advice
Learning ...
8 REPLIES 8
Steven E. Protter
Exalted Contributor
Solution

Re: port question

Shalom,

Checklist
1) Provide DNS support for the hostname. Depending on your environment that may require a fully qualified domain name. You need an A record.
2) Look at the web servers httpd.conf file and make changes as required to support the name.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
navin
Super Advisor

Re: port question

Steve,
I have a full hostname as server.northamerica.dcop.com
So u meant to say ..there should be an A record created ....at DNS to pint to servername:7001
Thanks for your advice..
Learning ...
Steven E. Protter
Exalted Contributor

Re: port question

DNS does not provide the port number merely host resolution.

your httpd.conf file has a listen directive in it. Normally it listens on port 80.

Change it to 7001 save the file and restart the web server.

To give details I'd have to now which web server we are talking about.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
navin
Super Advisor

Re: port question

the server does not run the web server. there is an application that runs on 7001.ANd it is accessible through web ..as http:/server:7001.
Client would like to use some thing as htt:/server.
Thanks
Learning ...
Heironimus
Honored Contributor

Re: port question

The easy way is to put a web server on port 80 and have it do an HTTP redirect to http://server:7001/.
navin
Super Advisor

Re: port question

Lil more info would be appreciated ...regarding having an web server (port 80) and have it to access http://server:7001 .
Thanks Much
Learning ...
Torsten.
Acclaimed Contributor

Re: port question

I'm sure this "application" is using any kind of web server, maybe apache.

One of the settings of any web server is the "server listen on port ..." - default is 80.

You can either adjust the config to listen on port 80 or set up another web server to listen on port 80 and re-direct to the other port.

Example:


<meta http-equiv="refresh" content="5; URL=http://my.server:1234/" />




Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: port question

... but maybe the most easy solution is to use a bookmark or shortcut on the client side ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!