We have moved to a new Sailfish OS Forum. Please start new discussions there.
4

SailfishOS SDK takes localhost:8080 address

asked 2015-06-23 16:58:29 +0300

smoku gravatar image

updated 2015-06-23 18:07:46 +0300

Jare gravatar image

localhost:8080 is a traditional address to run development instances of web services (on developer's machines).

SailfshOS SDK takes over this port for private, internal communications channel to connect build machine infrastructure. Please move this communications channel to less commonly used port than 8080, which is traditionally at machine user disposal.

edit retag flag offensive close delete

Comments

1

Yeah,i also found this last week when i start apache-tomcat

BirdZhang ( 2015-06-23 17:31:51 +0300 )edit
1

I had issues with this port too, as some National Instruments thingy also uses this port (even for non-web service), and MerSDK could not use it.

(I typically use these SDK tool pages over regular browser, instead of QtCreator, ie http://127.0.0.1:8080/C/harbour_tools/ )

kimmoli ( 2015-06-23 23:28:11 +0300 )edit

1 Answer

Sort by » oldest newest most voted
5

answered 2015-06-23 18:05:13 +0300

Jare gravatar image

updated 2015-06-23 18:06:06 +0300

The localhost port 8080 is used only for the Mersdk web configuration (the SailfishOS button in the QtCreator). We can make this changeable from the QtCreator options in the future, but for the time being you can "easily" modify it by following these steps:

  1. Open Virtualbox Manager
  2. Go to "MerSDK" virtual machine settings
  3. On the Network page select Adapter 1 and click Port Forwarding
  4. In the Port Forwarding Rules change the "guestwww" host port to one of your liking

(Optional - Change the web ui port in QtCreator):

  1. Open the "mersdk.xml" from the QtCreator user config directory (Linux/Mac: "~/.config/SailfishBeta4/qtcreator/mersdk.xml") in a text editor
  2. Change the value of the "WwwPort" key to the one you configured in step 4
  3. Save the xml file and restart QtCreator
edit flag offensive delete publish link more

Comments

Please change 8080 port number in the next SDK release.As we all know,localhost:8080 is a traditional address to run development instances of web services.

BirdZhang ( 2015-10-27 10:12:07 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2015-06-23 16:58:29 +0300

Seen: 273 times

Last updated: Jun 23 '15