Welcome Guest, Not a member yet? Register   Sign In
Connect to host with different port
#1
Tongue 

Hi all,
I am using port number 88 and 3308 to connect to my server instead of 80 and 3306 (default ports). the .ENV file allows only to enter hostname, user, password with no option for port. I tried to connect using hostnmae: 127.0.0.1:88 at it failed.

Any help please
Reply
#2

All configuration values can be set in .env. If it’s not already there, you can add it. See http://codeigniter.com/user_guide/databa...h-env-file
For the default group it would be database.default.port = 3308;
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
Reply




Theme © iAndrew 2016 - Forum software by © MyBB