Skip to content
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

Adjust ipv4 address to listen on localhost #482

Closed
wants to merge 1 commit into from
Closed

Adjust ipv4 address to listen on localhost #482

wants to merge 1 commit into from

Conversation

plluksie
Copy link

Start daemon on localhost instead of 0.0.0.0:8080 as this prevents varnishd from trying to bind to 8080 twice which results in error:
Error: Could not get socket 0.0.0.0:8080: Address already in use
(-? gives usage)

Similar case to memcached.

svccfg -s pkgsrc/varnish setprop application/listen = 10.1.1.1:8080
svcadm refresh pkgsrc/varnish
svcprop -p application/listen pkgsrc/varnish
svcadm restart pkgsrc/varnish

Start daemon on localhost instead of 0.0.0.0:8080 as this prevents varnishd from trying to bind to 8080 twice and producing error: 
Error: Could not get socket 0.0.0.0:8080: Address already in use
(-? gives usage)

Similar case to memcached.

svccfg -s pkgsrc/varnish setprop application/listen = 10.1.1.1:8080
svcadm refresh pkgsrc/varnish
svcprop -p application/listen pkgsrc/varnish
svcadm restart pkgsrc/varnish
@jperkin jperkin self-assigned this Apr 13, 2017
@jperkin
Copy link
Collaborator

jperkin commented Apr 13, 2017

Committed upstream, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants