1
votes

I want to change the host value with my IP address when i connect to wifi, but when I build the app it is still localhost.

How to change server host?

2

2 Answers

1
votes

To change the host address of your Worklight Development Server:

  1. Open the Servers view in Eclipse (if you don't see if, press Ctrl+3 and search for "servers")
  2. Double-click on "Worklight Development Server"
  3. Change the Host name value from "localhost" to the IP address
0
votes

In eclipse click on menu "Window->Show View->Servers" to display the worklight development server. If "Show View" does not display "Servers" view then click on "Other" option and search for "server" keyword.