1
votes

I am trying to run a simple HelloWorld app on my MacBook using Eclipse Luna and I am getting this message:

The current server configuration is set to "localhost". Therefore the Worklight build uses the primary IP address of this computer (???.???.?.???) instead. It is recommended to set the server configuration to use the fully qualified hostname or IP address of this computer. To configure the setting, in the "Servers" view double-click the Worklight Development Server entry and edit the "Host name" field.

Clicking the Worklight Development Server opens a sub menu with different files. I believe that I need to replace localhost by my IP address. Which file and which entry need to be modified?

3

3 Answers

1
votes

It is only a recommendation and typically in most cases for local development there is no need to change this value.

If you still prefer to change it, it is where the message says so.
Open the Servers view and double-click on the "Worklight Development Server" entry (no need to expend it):

enter image description here

1
votes

I just solved the same problem. I had to change the Host Name to the name of my PC and it worked.

0
votes

@Simon, Can you do a DNS flush on your mac once and give it a try. Sometimes DNS flush causes some sort of unwanted issues which doesnt resolve the ip address and acts funny refer :- link