我已经在High Sierra上建立了本地主机,并将我所有的web项目都放在网站目录中。一切正常,因为我可以使用以下工具访问我的网站:
http://localhost/~foo/my-site
这里没问题。但是,我现在需要Cassandra作为我的一个项目,我正试图通过默认端口连接到它:
127.0.0.1:9042
Forbidden
You don't have permission to access / on this server.
不过,我可以ping 127.0.0.1。有什么想法可以让本地主机在使用网站的同时工作?