chrome said server's IP address could not be found - laravel-5.5

Im trying to browse my project in laravel using chrome
but chrome said server's IP address could not be found
Does anyone encounter the same problem?
I'm running a server on windows 10 with laragon
apache
mysql

Try to flush DNS:
ipconfig /release
ipconfig /renew
ipconfig /flushdns

You can also clear your Host Cache, which will solve the problem if it is being caused by an Extension. To clear out your cache: enter Incognito Mode in Chrome by pressing the three vertical dots in the top right of the page, and clicking New Incognito Window.
In the URL bar, enter chrome://net-internals/#dns and press Enter on your keyboard. On the screen, look for the Clear Host Cache button. Next, open up a command window by finding by pressing Start and choosing Run. In the text field, type cmd and then enter ipconfig /flushdns

Related

Coldfusion same file different output on CF10 and CF11 using cfheader

I have this simple code in Coldfusion
<cfheader
statuscode="400"
statustext="There was something wrong with the request."
/>
<cfoutput>This is what I want to return as the output.</cfoutput>
<cfabort>
When I run this on my localhost running CF10, I get this output on my Chrome browser:
But when I run this same file on another server running CF11, I get this output:
Am I missing something? Is there some other way of doing this in CF11?
Any help would be really appreciated. Thanks.
The issue actually has nothing to do with ColdFusion, either 10 or 11.
By default, IIS shows not does not show the statustext portion of the error message; it only shows the statuscode number. This is a security feature to prevent data leakage. If you do want to show the statustext portion of the error message, that is called "Detailed Error Messages" in IIS.
Steps to enable Detailed Error Messages in IIS 7:
Open the IIS7 manager
Select the Website and on its features view, double click on "Error Pages".
Right click and select the "Edit Feature Settings…" or select the same from the Actions pane (in the right hand side)
Select the "Detailed errors" radio button and click on OK
Now, even your client browsers will be able to see the detailed error messages.
More information:
https://blogs.msdn.microsoft.com/rakkimk/2007/05/25/iis7-how-to-enable-the-detailed-error-messages-for-the-website-while-browsed-from-for-the-client-browsers/
https://www.iis.net/learn/troubleshoot/diagnosing-http-errors/how-to-use-http-detailed-errors-in-iis

Blackfire not working on Windows / WAMP

Blackfire gives me "Are you authorized to profile this page? Probe not found or invalid signature." on my WAMP install!
I followed all the steps correctly and installed everything in the right places.
Things to keep in mind while setting up Blackfire on WAMP:
Make sure Xdebug and other debugging extensions are disabled in the php.ini file.
Client ID and Client Key are different from Server ID and Server Key - see that you are not pasting them in the wrong places.
Set up a log directory to make sure you get to know about errors. Example: blackfire.log_file = /path/to/logs/blackfire.log
Make sure the blackfire-agent.exe is running while you try to profile the site running on your localhost - this is what I was missing. You can run it with the command blackfire-agent in the command prompt.
Hope it helps! Happy coding!

Coldfusion 11 Installation - invalid credentials

I just installed ColdFusion 11 on a Windows 2008 server. After installation, I got the message to proceed with configuration using the link
http://foo.com:80/CFIDE/administrator/index.cfm
where foo.com is 127.0.0.1
However, it keeps rejecting the userid and password I provided during installation for administrator.
Any help is highly appreciated.
This blog entry should help you: Troubleshooting ColdFusion Admin Login Issues.
You can also try the following quick workarounds:
Try an alternate browser (issue primarily occurs with IE).
Try alternative address
http://127.0.0.1:port_no/CFIDE/administrator/index.cfm or
http://localhost:port_no/CFIDE/administrator/index.cfm or
http://ip:port_no/CFIDE/administrator/index.cfm.
Try the passwordreset.bat and then try with the same ip or loopbak ip
address.
Enable internal/built port for ColdFusion and then try
http://localhost:8500/CFIDE/administrator/index.cfm, where 8500 is
the internal port for ColdFusion.
Note: Enabling internal/built port would require a ColdFusion Application Server restart.
This is usually due to reasons posted here - https://forums.adobe.com/message/6502639#6502639
The issue is happening because of mime type (.air) entry specified in the web.config of the webroot.
Can you try the following steps:-
Navigate to the webroot of your site.
Take a backup of web.config and open it with text editor (notepad etc)
Comment the entry for mimeType extension of ".air" like <!--<mimeMap fileExtension=".air"
mimeType="application/vnd.adobe.air-application-installer-package+zip"
/>-->
Save the file and restart IIS.
Launch CF Admin and try to login.
Commenting out the .air type in site specific web.config file has resolved the issue.

How to access parts of localhost with device

I've pulled the latest stable MOODLE_21_STABLE branch to my WAMP server localhost location, all installed and configured successfully, works in browsers as per usual. I'm poking around theming now, and would like to test out device-specific themes.
SO questions helped me successfully connect to my localhost via iPhone Safari and Android Chrome, I can navigate the various projects and tools I have on localhost - all of that works wonderfully (successful URL eg: http://192.168.123.135/ - this is the root WAMP page).
Next, I tried to access my Moodle install via Safari (URL for reference: http://192.168.123.135/moodle/moodle2/htdocs/), but Safari prompts an error:
"Cannot Open Page. Safari cannot open the page because it could not connect to the server."
The page beneath the prompt reads:
"Incorrect access detected, this server may be accessed only through 'http://localhost/moodle/moodle212/htdocs' address, sorry. Please notify server administrator."
Two things to note:
Safari re-writes the IP address portion of the URL to 'localhost' for the failed Moodle URLs I've been trying to enter, when it prompts the error. My own project URLs keep their IP portion.
The above 'suggested' address in the page error also delivers the same error message again.
I feel like I'm inches away from awesomeness here, does anyone have any advice/ideas as to how I can access my Moodle install on a WAMP localhost (or similar), when browsing via device?
Is there some server setting I need to dis/enable?
Is this likely to be a Moodle specific issue, or is there something about accessing server locations in this way that is troublesome/not possible?
Make sure that both $CFG->wwwroot and the IP address of the Apache vhost in the WAMP configuration files are set to 192.168.123.135. Also possibly the hostname too. It sounds like you have a config issue with internal and external DNS names not resolving in quite the same way. Apache is probably the culprit.
Are you referring to desktop Safari installed on the same machine as WAMP?

Coldfusion 8: Firefox can't establish a connection to the server at 127.0.0.1:8500

I installed Coldfusion 8 trial version on my system (XP Professional sp3).
I created an Folder in the “C:/Coldfusion8/wwwroot” called “buildProject” containing an Index.cfm and some other .cfm files.
But I am unable to access the Neither my project files or CFIDE/Administrator
I tried the following URLS
http://localhost:8500/wwwroot/buildProject/
http://localhost:8500/CFIDE/administrator/index.cfm
http:// 127.0.0.1:8500/wwwroot/buildProject/
http:// 127.0.0.1:8500/CFIDE/administrator/index.cfm
http://localhost /wwwroot/buildProject/index.cfm
http://localhost /CFIDE/administrator/index.cfm
http://localhost /wwwroot/buildProject/
http://localhost /CFIDE/administrator/index.cfm
Firefox can't establish a connection to the server at 127.0.0.1:8500.
* The site could be temporarily unavailable or too busy. Try again in a few
moments.
* If you are unable to load any pages, check your computer's network
connection.
* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
• I cleared the browsing “History” from both IE and FF.
• I have restarted the CF server in the Control Panel >Administrative Tools > Services
• Even restarted the IIS
Getting the same error.
Further I was trying to access IE/FF via CFbuilder But still I am getting the error
“The connection was refused when attempting to contact [URL].”
If you connected Coldfusion to IIS, then you probably need to connect on port 80. Which you did try, but if you connected Coldfusion to IIS, then the document root is IIS's document root, not the document root you created your new directory in.
I believe the document root for IIS on XP is c:\inetpub\wwwroot.
So, try putting a test.cfm file in there that just contains "hello world" or something, and see if you can request it from there.
Hopefully you installed IIS first and were happy it was working before installing CF.
Try connecting to your IIS on http://localhost
You should get the default IIS .htm landing page , probably index.html or something, so at least you know IIS is working fine.
If you then try http://localhost/nosuchpage.htm you will see a 403 error (as long as you didnt specify to allow directory browsing). In the standard IIS error page you should be able to see
Physical Path D:\inetpub\wwwroot
or wherever IIS thinks your web root is. When you then install CF to use IIS (rather than standalone) it will use this path as your web root.
Rename your index.html file as index.cfm and connect to it on
http://localhost:8500/index.cfm
If vanilla html pages are working from the directory but .cfm pages are not then you probably need an CFIDE mapping (I think one quick workaround is simply to copy your CFIDE folder and drop it into web root).
What happens if you try typing this in as a url:
http://{your i.p. address}:8500/CFIDE/administrator/index.cfm
I bet it works