cancel
Showing results for 
Search instead for 
Did you mean: 

How to change HTTP port?

Former Member
0 Kudos

I tried changing the HTTP port in Visual Admin --> Dispatcher --> HTTP Provider but that did not help. Say I changed the HTTP port to 5000 and I browse to URL http://localhost:5000/ the J2EE Engine start page does not come up indicating that it did not work. Am I missing anything here?

I need all J2EE applications (like servlets) to be served by a port number lower than 12356.

Thanks in advance for any help!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Ivaylo,

I did use the update button to set the values. I also restarted the server (just to make sure!) but to no avail. After I change the port, restart server and reconfirm the port values in visual admin, I cannot browse to http://localhost:newportnumber and see the default J2EE engine index page.

Does this work for you? If it does, it is a problem with my setup.

BTW, I am not using the preview version.

Thanks

KS

Former Member
0 Kudos

Hi,

yes, it works fine with my Engine installation (SP9).

> BTW, I am not using the preview version.

That does not make any difference - changing properties work the same way in sneak preview and later Engine SPs.

Do you get any error message on the screen (when you say "cannot browse to http://localhost:newportnumber")? This may give us a clue what might be wrong. Otherwise, I'm running out of ideas.

Former Member
0 Kudos

Ivanov,

Thank you for you help. It is now working. I was using port 5000 (and 5001 for ssl) and that did not work. But if I use any port above 5000 like 5001..2..3.. it works. Weird isn't it?

Once again thank you for your help!

Former Member
0 Kudos

Ivaylo,

Thank you for your response.

First, I am using Web AS 6.40. I had followed the steps mentioned in the help link (that you provided too), but that did not work. I notice that there are some guidelines to decide port numbers for HTTP/SSL mentioned at http://help.sap.com/saphelp_nw04/helpdata/en/5b/82d3c3ee9691418e6b0281f933a37d/frameset.htm

It states that the J2EE Engine ports must meet the following requirement(s):

1) The port value must be a number over 50000

2).....

If this is true it means that it is not possible to serve HTTP requests from ports lower than 50000. Is that true or am I on the wrong track?

Thanks

KS

Former Member
0 Kudos

Hi,

no, this is not true that HTTP port cannot be set to a value lower than 50000. The page you referred to describes how are the <b>default</b> port values calculated.

However, I noticed that there is a step missing in the documentation that could be the reason why you could not change the property. Here are the steps to take:

1. Select the property from the list of properties in the HTTP Provider Service.

2. Change the value.

3. <b>Select the Update button</b> just below the Value field. Then you should see the new value of the property updated in the list of properties above.

4. Then select the Save button..

Now, everything should be OK.

Former Member
0 Kudos

Hi!

Which version of the J2EE Engine do you use - 6.20 or 6.40? I'm asking this, because there is difference in the syntax of the value for the ports property in the different versions.

In case you use 6.40, check this page for more info about setting the HTTP port:

http://help.sap.com/saphelp_nw04/helpdata/en/5b/82d3c3ee9691418e6b0281f933a37d/frameset.htm

In case you use 6.20 engine, refer to the Administration Manual PDF from the documentation pack coming with the installation: Chapter Services Administration Reference -> HTTP Service -> Visual Administrator and locate the table with dispatcher properties there.

Also, do you get any error message when you try to access the start page? Did you check if the default web application is started?

Hope that working on this "checklist" will help you work that out!

Regards,

Ivo.