Page not found while building development launchpad after "make run" command

Asked by jiamin on 2017-12-03

i wanna build development launchpad on ubuntu-16.04 TLS, following guide from "https://dev.launchpad.net/Running", everything goes well , as you can see following:
------
2017-12-03T21:21:44 INFO Server zope.server.http (HTTP) started.
 Hostname: launch
 Port: 8085
 URL: http://launch:8085/
------
2017-12-03T21:21:44 INFO PMDBWSGIHTTPServer zope.server.http (PostmortemDebuggingHTTP) started.
 Hostname: launch
 Port: 8088
 URL: http://launch:8088/
------
2017-12-03T21:21:44 INFO Server zope.server.http (DebugLayerHTTP) started.
 Hostname: launch
 Port: 8086
 URL: http://launch:8086/
------
2017-12-03T21:21:44 INFO Server zope.server.http (PrivateXMLRPC) started.
 Hostname: launch
 Port: 8087
 URL: http://launch:8087/
------
2017-12-03T21:21:44 INFO root Startup time: 6.720 sec real, 4.044 sec CPU

but when i open any of these urls on the development computer such as "http://launch:8085/" in the browser, it throws 404 error, the detail as follows:

Lost something?

This page does not exist, or you may not have permission to see it.

If you have been to this page before, it is possible it has been removed.

Check that you are logged in with the correct account, or that you entered the address correctly, or search for it:

i have tried many ways , but still stuck here ,eager for your help desperately

Question information

Language:
English Edit question
Status:
Open
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
2017-12-05
Last reply:
2017-12-05
William Grant (wgrant) said : #1

Launchpad uses vhosts, so you need to visit https://launchpad.dev/ (which routes through the container's Apache).

jiamin (l00425698) said : #2

William,

        Thanks for your help, and sorry for replying your answer util now.
        I did not quite understand your meaning, what the connection between vhosts and my "404" problem? Can you describe more specifically? and what can i do to visit http://launch:8085/ normally without any exception? can you show me some detailed steps?
         Looks forward to your message ~

Best Wishes
    jiamin

Colin Watson (cjwatson) said : #3

Why do you want to visit http://launch:8085/ directly? Visiting https://launchpad.dev/ instead is what the Launchpad developers do when we're working on local Launchpad instances. Despite the fact that the startup process prints out some backend URLs, you shouldn't visit them directly.

(This matters because the site knows what name it's expected to be addressed by, and serves different content depending on the name you use: that's what vhosts, or virtual hosts, mean.)

jiamin (l00425698) said : #4

Colin,Is that meaning that "make run " ok is equals to building launchpad ok?

 i wanna deploy my own launchpad environment , even change source code to match our own design goal maybe later. So i wanna access these urls directly or access some url which is my own environment not official link ? But i am totally a newbie to launchpad, i don't know is this thought possible?

Can you help with this problem?

Provide an answer of your own, or ask jiamin for more information if necessary.

To post a message you must log in.