Have you set the port in your app.url configuration?
You're talking about the url setting in config/app.php? If so, why would that matter? It's description states that this is for running php artisan tasks.
Updated title, but left original post alone. It isn't just Redirect::to() that is being problematic. It seems that anything Laravel is doing, such as {{{ asset(...) }}} is ignoring the port.
I tracked it down and it looks like it's an issue with Codio's new virtual machines. Symfony expects HTTP_HOST to contain any non standard ports, which makes sense, but they aren't setting it.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.