cancel
Showing results for 
Search instead for 
Did you mean: 

Netweaver 7.1 CE ehp1 trouble setting port 80

Former Member
0 Kudos

Hello,

I have a base install of netweaver 7.1 CE ehp1, running MII 12.2, it is working correctly under http://<hostname>:50000 .

I have a DNS setup to allow users to access the site (lets call it www.myxmiiserver.com). I setup a virtual host under NWA >Configuration management > Infrastructure > Java HTTP Provider. I setup www.myxmiiserver.com and give it the startupfolder as default XMII folder.

After a restart it seems http://www.myxmiiserver.com:50000 works now. http://www.myxmiiserver.com gives no response.

So I go to NWA > Configuration Management > Infrastructure > Java system Properties > Services > http > proxymappings 50000=(host:www.myxmiiserver.com,Port:80,Override:true)

This doesnt seem to do much, but I get a blank page instead of no response at least.

So now I'm trying to set icm/server_port_0 to use Port 80 instead of port 50000 (could I setup server_port_4 as HTTP as well btw ?) but I'm being twarted at every turn trying to enable this setting.

The Web administration site allows me to create the parameter but I get an error when I activate it (as far as I can tell its not persistant this way, it will reset when the machine is rebooted)

The MMC plugin on the server itself actually crashes when I go to select the parameter after right clicking on ICM and selecting Parameter !

If I use icmon.exe through the command line it will allow me to read the parameters but it will not apply the configuration changes when I make them !

As its CE I cannot go the transaction route..

I'm all out of options it seem to get my site communicating on Port 80.. Anybody have any advice ?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello Alister,

Best thing is probably to shutdown the instance, and then to edit the instance profile manually.

You can either change the default HTTP port from 50000 to 80, or add an additional port 80 e.g. by adding icm/server_port_4. Depending on your OS and user account, you may have to use icmbnd in order to be able to use a port < 1024. You can find more information about HTTP ports here:

http://help.sap.com/saphelp_nwce711/helpdata/en/48/3ae05299c172d0e10000000a42189c/frameset.htm

The proxymappings only makes sense, if you used a reverse proxy in your environment, e.g. listening on port 80. This is another option that you have: you could use SAP Web Dispatcher to listen on port 80 and forward the requests to the J2EE engine. This would make most sense when you want to open port 80 on another host than the J2EE host.

Best regards,

Tobias

Former Member
0 Kudos

Thanks for the reply !  I tried locating the file but I couldnt seem to locate the file with the port settings, what would the file be called and where might it be located ?

0 Kudos

The instance profile can always be found in usr/sap/<SID>/SYS/profile.

Former Member
0 Kudos

Thanks for your help ! I finally got it, I had actually looked at default.pfl and the instance profile, but I was put off by the lack of any icm/server_port_x Parameters. When I entered the parameter I saw the parameter from the web admin page. I still had no luck connecting though. I checked for ports using netstat, it didn't seem any application was blocking them, but when I used netstat -ano system came up as using port 80. Turns out the World Wide Web Publishing service was started, once it was disabled it all started working beautifully.

Answers (0)