Srv-captain--staff-app.1.w4664tt695ol@yea03 | run: loading initial config: loading new config: starting caddy administration endpoint: listen tcp [::1]:2019: bind: cannot assign requested address

I encounter this error when deploying my app… I use a linux server…

this is my configuration in the CaddyFile that I run… and it is a laravel app.
:80 {

root * /srv/app/public

@websockets {
    header Connection *upgrade*
    header Upgrade    websocket
}

reverse_proxy @websockets 127.0.0.1:6001 {
    header_down -X-Powered-By
}

redir /index.php / 308
redir /index.php/ / 308
route /index.php/* {
    uri strip_prefix /index.php
    redir {path} 308
}

php_fastcgi 127.0.0.1:9000
encode gzip
header -X-Powered-By
file_server
log

}

I need help or assistance to resolve this error

Please fill out the help topic template as per the forum rules.

Please don’t put the error message in the post title, that looks very messy and is hard to read.

Does your system have IPv6 properly enabled/supported?

Yeah… It uses IPv6 but I don’t it is properly configurated…
Anyways I have been able to resolve the issue selve…
I had to force it to use a specific IP address at thr administration endpoint … By adding to the caddy file the lines below;

{

admin 127.0.0.1

}

Ok please. Well noted.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.