I installed Django on my PC, but I want to install Laravel also. But my localhost didn't connect. Whenever I want to connect to Laravel in localhost it gives an error like
"Laravel development server started:
[Thu Oct 5 01:41:01 2017] Failed to listen on 127.0.0.1:8000 (reason: An attempt was made to access a socket in a way forbidden by its access permissions."
How can I fix it?
Related
guys. Good day.
I have an issue with Yii server on local.
I had to launch the Yii server on local and I typed command like below
> php yii serve --port=8081
Server started on http://localhost:8081/
Document root is "G:\yii\basic/web"
Quit the server with CTRL-C or COMMAND-C.
[Sun Jun 26 10:57:24 2022] PHP 7.4.5 Development Server (http://localhost:8081) started
This made port 8081 listening on my PC.
I checked that with
> netstat -n -a -o
...
TCP [::1]:8081 [::]:0 LISTENING 13844
...
command.
It showed that port 8081 was listening.
But then when I tried to access it on Chrome browser with URL
localhost:8081
it gave me the issue below.
This site can't be reached
localhost refused to connect
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Disabling firewall did the same either.
What wrong? :( Any advice would be appreciated.
I am trying to run a development server on my Mac. I have been able to do so before with no issues. I'm not aware of any changes I've made, but now the server starts, but I'm unable to access it from a browser:
❯❯❯ php -S localhost:8000 ⏎
PHP 5.6.30 Development Server started at Mon Oct 16 18:06:16 2017
Listening on http://localhost:8000
I get this message from the browser:
This site can’t be reached
localhost refused to connect.
No noise from the server process at the command line.
My /etc/hosts file has the following line:
127.0.0.1 localhost
What am I missing?
I'm busy trying to create a website and I'm getting the Not found 404 error and I'm not sure why.
This is the whole error that I got
Not Found
The requested URL /mysite/admin/menus was not found on this server
Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
I recently installed WAMP on my pc and then installed Laravel 5.2 with the caffeinated module package.
I'm working with wamp server 5-6 years. I bought a new laptop with windows 8.1. I installed wamp server and 3-4 about I haven't problem. But today my wamp server not starting. When I was doing my research I could not find anything related to my problem.
I checked and the IIS ins't installed on Windows features
I uninstalled skype ( which using the port 80 )
I re-install 2 times the wamp server and the last install I reinstall also the MS Visual c++ redistributable
I deleted previous the install all files ( the directory c:/wamp )
I checked the "Web Deployment Agent Service i" aren't running
Please not that : I'm not changed anything on my pc... and yet I still have the problem.
Also in windows logs I saw the following errors for apache:
(OS 10013)An attempt was made to access a socket in a way forbidden by
its access permissions. AH00072: make_sock: could not bind to
address [::]:80 ( 2 times )
AH00451: no listening sockets available, shutting down
AH00015: Unable to open log
Any idea or help is very helpful... Thank you for all replies
OK I found the solution. I disabled both the IPv6 and again the SQL Server reporting service and I changed the port again to 80 from 8080 and now it's working. Thanks all you for your helps
I'm using a RedHat Linux Web and DB server. Have PHPMyadmin 4.0.10.2-2 installed on web server w/ PHP 5.3.3 and Nginx 1.4.4. Connecting to the db server, Percona 5.5.32.
I can't log into PHPMyAdmin with mysql credentials anymore. BUT I can log in to mysql via cli and mysql workbench with those credentials.
Modified my /etc/phpMyAdmin/config.inc.php to point to the db server which reside on the same subnet. Also specified the root user and other use within this file. Confirmed I could still ping servers and access mysql via web server.
Restarted all services.
Did look in the error logs (/var/log/nginx/phpMyAdmin/error.log) and get this... "2014/09/25 18:36:48 [error] 6457#0: *543 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 67.136.101.122, server: phpmyadmin.domain.com, request: "GET /index.php?token=4086842d92d66bb2f971ef2228c29acf HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "phpmyadmin.domain.com", referrer: "https://phpmyadmin.domain.com/index.php?token=4086842d92d66bb2f971ef2228c29acf"
Things were working just fine yesterday. Did an yum update this morning, which is the last change to the server.
Found the resolution. After many hours, the /etc/phpMyAdmin directory group permission had to be set to nginx.