niaoxx 发表于 2016-6-4 17:28:33

用CI本地调试的时候,locahost自动转换为[::1],求大神解答啊....

用CI的时候,本地地址自动变成这种http://[::1]/demo_ci/index.php/welcome/mingdan用 base_url()site_url() 输出也全部是[::1],困扰我好久了,求大神解答啊,万分感谢

niaoxx 发表于 2016-6-4 17:28:48

用的最新版本的CI

yuzhigang5460 发表于 2016-6-6 13:16:30

niaoxx 发表于 2016-6-4 17:28
用的最新版本的CI

在application/config/config.php中:
$config['base_url'] = 'http://localhost/demo_ci/';

niaoxx 发表于 2016-6-22 15:06:02

yuzhigang5460 发表于 2016-6-6 13:16
在application/config/config.php中:

万分感谢啊,困扰很久了:handshake

梦想杀死 发表于 2016-6-22 16:29:42

http://localhost
这个地址能访问?xampp配置对吗?
是不是更改端口了
页: [1]
查看完整版本: 用CI本地调试的时候,locahost自动转换为[::1],求大神解答啊....