New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bind to a site.url don't work #717

Closed
d4kr opened this Issue Dec 28, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@d4kr

d4kr commented Dec 28, 2017

Hi,

I have binded my leanote website to a site.url in app.conf like the example

site.url=http://note.mysite.com:9000

but when I start leanote with bash run.sh I alway get the listening on localhost...

DEBUG 20:36:40  revel server.go:106: InitServerEngine: Found server engine and invoking  section=server name=go
Listening on.. localhost:9000

If i try to connect from a remote host don't work, if I try to connect from localhost (with telnet) it works. I have tried to change the port to 80 (stopped my apache service before) but without chance.

There is something wrong I do?

Thanks

Server configuration:

  • Ubuntu 16.04
  • Go 1.6.2
  • Int IP Address: 10.1.2.3
  • Pub IP Address: x.x.x.x
@JerryJiangjjw

This comment has been minimized.

Show comment
Hide comment
@JerryJiangjjw

JerryJiangjjw Jan 18, 2018

same to me, and i add edit nginx.conf to solve it

server {
        listen       9001 ;
        location / {
            proxy_pass http://127.0.0.1:9000;
        }
    }

JerryJiangjjw commented Jan 18, 2018

same to me, and i add edit nginx.conf to solve it

server {
        listen       9001 ;
        location / {
            proxy_pass http://127.0.0.1:9000;
        }
    }
@lealife

This comment has been minimized.

Show comment
Hide comment
@lealife

lealife Mar 8, 2018

Member

If you wanna listen all ip, please find and update app.conf

http.addr=0.0.0.0 # listen on all ip addresses
Member

lealife commented Mar 8, 2018

If you wanna listen all ip, please find and update app.conf

http.addr=0.0.0.0 # listen on all ip addresses

@lealife lealife closed this Mar 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment