cancel
Showing results for 
Search instead for 
Did you mean: 

AS Java 7.01 Install - Port Error

Former Member
0 Kudos

Experts, I'm in the process of installing NetweaverAS Java (only no ABAP) 7.01 instance on Lunix Redhat 5. I am getting the following error after starting sapinst:

Logon Error:

Connection to SAPisnt could not be established, see following message

Could not connect to host localhost on port 21200

java.net.ConnectException: Connection timed out

java.net.ConnectException: Connection timed out

I have confirmed with the unix/server group that the ports are not in use

This obviously looks like an issue with the port, but I've been assured that the port is open/available. Does anyone have any insight?

Accepted Solutions (0)

Answers (2)

Answers (2)

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Could you please try to start sapinst GUI from other port with below commands:

SAPINST_DIALOG_PORT=<free_port_number_sapinst_to_gui_server>

GUISERVER_DIALOG_PORT=<free_port_number_gui_server_to_gui>

GUISERVER_HTTP_PORT=<free_port_number_http_server>

Thanks

Sunny

Former Member
0 Kudos

I updated the ports but got the same error message. I thought it was strange that even though I changed the ports the error message still lists the default port 21200. I would think that the updated port should be reflected in the error. Any other thoughts...?

Former Member
0 Kudos

Hello Michael,

Can you please paste the exact error what your getting. Also what are the display variants you are using.

Also check any hung sapinst process is there or not?? if yes kill it before starting the installtion.

Also if you face the issue again try to use below command:-

/startinstgui.sh -host <your_linuxserver_host_name> SAPINST_DIALOG_PORT=<free_port_number_sapinst_to_gui_server>

Please let us know the outcome of same.

Thanks and Regards,

Ram

franz_hiltscher
Participant
0 Kudos

Hi,

please check the following

hostname command -> only the hostname should returned not the fqn

/etc/hosts -> is there a entry for localhost

ping localhost

is your firewall active -> open the ports/disable the firewall i am not sure but i think the command is system-config-securitylevel

Regards Franz

Former Member
0 Kudos

Hello Michael,

Check for the all variable before s tarting the sapgui like java_home, LD_LIBRARY and DISPLAY try again.

Also try to use below commands

./startInstGui.sh -server -host <Linux Server IP Address> -p 21200

or

./startinstgui.sh -host <your_linuxserver_host_name>

or

./sapinst GUISERVER_DIALOG_PORT=21215

and let us know if you are still facing issues.

Thanks and Regards,

Ram