Forum Moderators: phranque

Message Too Old, No Replies

http request on standard port

         

wcpav

6:11 pm on Sep 30, 2005 (gmt 0)

10+ Year Member



Hello all,

I am deploying an intranet web application war file on sun system webserver 6.1 on a windows 2003 machine.

The server is already using port 80 for another application and so I am forced to use another port (I am using the same ip address. I can actually use another ip address but this is the approach I am asked to follow). So, I've used port 89.

Port 89 is actually a standard tcp/ip port. It is called "SU/MIT Telnet Gateway". The services file of this
windows machine doesn't show 89. i.e 89 is not under use by any application.

I deployed the web application and the http request to the index page went through. The subsequent page (login page)won't work. The application is sending back a custom error saying "this application is currently unavailable"
I suspect the request is not going to the oracle database.

The same web application on port 89 is running well on the test windows machine. The services file in test is same
as prod and port 89 is not listed in eithr of them. What else could be different between the test and prod machine?

Is it because of port 89? Port 89 is "SU/MIT Telnet Gateway". The iana org port listing describes so many ports and all
of them have some description associated so, I am not sure what to choose. Otherwise, Can someone suggest an appropriate port. Also, what's happenning when the request is going from the webserver to database.

<quote>Ports <= 1023 are reserved and can only be used by server daemons run with effective uid 0 (root). Ports in the range 1024-49151 are available but should be registered with IANA so that your application doesn't conflict with others</quote>

To verify the above, is it sufficient to ensure that the application runs with root privileges?

I am not sure if this is a port issue, or a privileges thing.

Should apache server be used as a front proxy to the sun system webserver 6.1 in this scenario?
If so, can you suggest some documentation and examples ..

Any suggestions will be appreciated. Thank you.

jdMorgan

1:40 am on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



wcpav,

Welcome to WebmasterWorld!

Most of your questions are way beyond anything I'd care to try to comment on, but I would recommend using a 'standard' unassigned/unreserved alternate port, like 8080 or 8008 -- These port numbers are often used for secondary interfaces or intranet applications.

Jim