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

While serving Application on CLI using different port debugbar is still using a default 8080 port #2630

Closed
ManojKiranA opened this issue Feb 27, 2020 · 2 comments
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@ManojKiranA
Copy link

Describe the bug
While serving Application on CLI using different port debugbar is still using a default 8080 port

CodeIgniter 4 version
4.0.2

Affected module(s)
Which package or class is the bug in, if known.

Expected behavior, and steps to reproduce if appropriate

Since i am using multiple php version. I have configured port 8080 to apache

so I am serving in different port

php spark serve --port 1234

CodeIgniter CLI Tool - Version 4.0.2 - Server-Time: 2020-02-27 00:55:59am

CodeIgniter development server started on http://localhost:1234

image

Context

  • OS: [Windows 10]
  • PHP version [7.3.11]
@ManojKiranA ManojKiranA added the bug Verified issues on the current code behavior or pull requests that will fix them label Feb 27, 2020
@ManojKiranA ManojKiranA changed the title Bug: While serving Application on CLI using different port debugbar is still using a default 8080 port Feb 27, 2020
@michalsn
Copy link
Member

Not a bug. Using php spark serve --port 1234 won't magically change baseURL in config or .env file for you. You have to do it yourself.

@ManojKiranA
Copy link
Author

won't magically change baseURL in config or .env file

Thanks for the Fast reply sir. I haven't seen any docs regarding that.

I was thinking in a way that it will be automatically changed like Laravel framework

sorry for that.

P.S- I am new to codeigniter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

No branches or pull requests

2 participants