cancel
Showing results for 
Search instead for 
Did you mean: 

unable to connect from nwds to message server

Former Member
0 Kudos

Dear gurus,

I have set up NWDS on my computer and trying to connect to the message server.

Under window->preferences

I have entered the values

message server host - sap.**********.net

message server port - 3901; as seen under system information of the web application server. Message server port 3901

Now I have tried refreshing the screen for j2ee engine(in NWDS), but it still stays red. Could somebody please let me know, what is preventing my NWDS from connecting to the J2ee engine.

Is there some means by which I can ping or telnet and find out if that port is active. Is my antivirus preventing it from connecting.

Please provide any information that I can forward to the basis guy, and will help me in troubleshooting this problem.

Thanks, and appreciate any help.

-Neha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Neha,

To test the connectivity to the message server ports from your computer try the following command:

telnet hostname 3901

If the connection fails, you will get something like that

Connecting To hostname...Could not open connection to the host, on

port 3901: Connect failed

If the connection is successful you will not get the above error message.

You could check what is the port of the message server in the following file /usr/sap/[SID]/SCS01/work/dev_ms

Regards,

Ventsi Tsachev

Technology Development Support (J2EE Engine)

SAP Labs, Palo Alto, Ca (USA)

Former Member
0 Kudos

Hi, when I telnet the server it says -

"Couldnot open connection to the host, on port 3901: connection failed"

What is stopping me from connecting to the server on port 3901?

Should i ask basis to open the port 3901? or is it the anti virus on my computer that is blocking the port?

What should I do going forward from here.

Thanks,

Neha

Former Member
0 Kudos

Hello Neha,

It means that for some reason port 3901 on the other host is not accessible from your computer.

It could be due to firewall for example.

Your system administrator should be able allow connections to this port.

You will get the same error message if you the port number is wrong.

Therefore make sure that port 3901 is correct.

Regards,

Ventsi Tsachev

Technology Development Support (J2EE Engine)

SAP Labs, Palo Alto, Ca (USA)

Former Member
0 Kudos

Thank you for all the answers. I had to work with the basis guy. He said the port had to be open and activated. 3901

I am able to run web dynpro applications now.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Neha,

Try putting complete path of the message server along with domain name.If that is already the case , then try editing the hosts file.If the server you are accessing is remote one then do this

1. Browse to C:\WINDOWS\system32\drivers\etc

2. Edit the hosts file

<IP Address of the message server> <Entry used in NWDI configuration for the message server>

Hope this helps.

Regards,

Siva

Former Member
0 Kudos

Hi Siva,

Thanks for your response. I found the host file on my computer and changed it to

74.xxx.xxx.xxx server01

when i ping server01 from the command prompt, I am getting a reply from the above IP

Then I used "server01" in the message server host name in NWDS

Also tried using different ports like 3600, 3900, 3901, 3601.

But still doesn't appear to be working.

How do I know if my antivirus is blocking that port? is that possible ?

Thanks,

Neha

Former Member
0 Kudos

Can you check if the SLD configuration for the system you are trying to access is properly defined?Particularly the message server host and port.

- Siva