The connection has been reset - mamp

I am using Mamp for execute web site... I have several projects there and everything is fine.
Today hay export other project than I download from FTP and I canĀ“t see the index.php
When I put the router in the browser I obtain
The connection has been reset
I have all permission on the file of the project ... any idea?

This is not a permanent solution (maybe a poor one), but I also encounter this problem sometime. Restarting MAMP might help.

Related

Testlink Test cases location with Wamp server

I had a problem with my WAMP server not being online so after some hours changing values on Httpd.conf i was finally able to make it go online after all, with all of it's services too. But when i try to access localhost it only says "It's working!" and i can't access the testlink webpage. I had already done about 350 test cases manually into testlink so I REALLY want to get that back. I made a backup before the server went down of the entire WAMP directory but i have no idea where the test cases are located. They are not saved as they were named in TestLink. Anyone can show me the way?
thanks!
If when you run localhost and it say "It's working!" then you have another version of Apache installed on this machine, and that is the one that is running and NOT the WAMPServer version of Apache.
As you are obviously learning, stick to one Apache per machine. So uninstall the other Apache completely. It would also be a good idea to look for another MYSQL as well. They travel in groups normally.

GWT 2.7 Super Dev Mode not working while testing on the same network

I recently began using GWT 2.7 in Eclipse Luna and I was running my projects seamlessly while testing them in localhost:8888, the thing is, when I tried to test them (any of them, even a new app with only the autogenerated content) with another device on the same local network using (pc running eclipse ip):8888 I get a message like this:
The page at (ip):8888 says: Couldn't load (app) from Super Dev Mode server at http://(ip):9876. Please make sure this server is ready. Do you want to try again?
This also happens when I try to access to the app in the pc running eclipse with (its own ip):8888.
I've checked these four similar questions, but they didn't have any really helpful answers, these are a few things I've tried or discovered already:
I enabled the 9876 port on the firewall
I've deleted the .nocache.js and .devmode.js so that they're generated again
I noticed that when this problem occurs it's because the browser can't get the (ip):9876/recompile-requester/(app) file
I tried deploying the app to GAE and it doesn't work there either, nothing that happens on the modules Java code runs (And for some reason, I get a "Uncaught java.lang.ClassCastException" message on the chrome console, but this only happens on the deployed version, it doesn't happen on localhost:8888 or in (local ip):8888)
But nothing has worked and the four questions I mentioned are pretty much the only things related to this I've found, so I really don't know what else to try.
As Thomas pointed out, the problem I had was that from GWT 2.6 onwards, if you want to test from other devices in the same network, you have to whitelist the addresses you'll be using in each *.gwt.xml file using a command line like this:
<set-configuration-property name="devModeUrlWhitelistRegexp" value="http://(localhost|127\.0\.0\.1|192\.168\.150\.(\d{1,3}))(:\d+)?/?.*" />
I also had to add a -bindAddress 0.0.0.0 attribute to the run config for it to work.

GWT - DevMode: 'gwt.google.com not found' - 'Cannot display web page'

really need some help.
I have been working for the past 3 days trying to get a webpage to open when I run my web based Java-GWT-eclipse program. IE gives me error "Internet Explorer cannot display webpage" and chrome says "The webpage is not available- The server at gwt.google.com can't be found, because the DNS lookup failed."
I have tried this project on multiple other computers with an older eclipse-gwt plugin installed and it works great. All of these computers are dev boxes and do not have internet access. It does, however, have a solid connection to the database (SQL dev works fine).
what i have tried
copied eclipse and gwt plugin files from another dev box and installed. Gave me above error.
deleted/ uninstalled everything and installed newest version eclipse and gwt plugin. I was able to install gwt in eclipse but it could not locate GWT-user.jar file and would not allow me to create project.
Tried #2 again, same problem. Tried again on another computer, same problem.
Applied older version SDK to newer eclipse version. Gave same error as posted above/ #1.
ran wireshark on a working dev and the problem dev and the problem dev box was trying to communicate with google while the good one was going to some local IP address.
messed around with every setting in eclipse and nothing has worked.
What is left to try??? I am going insane.
What is the web page you are trying to open: http://gwt.google.com ?
Does this page load if you write the url directly in the address box of your browser ?
Does Internet work in that computer? try to access google or any other page.
This error is a clear case of a miss-configuration on your PC internet stack:
The server at gwt.google.com can't be found, because the DNS lookup failed.
What does return this command in your console?
nslookup gwt.google.com
EDITED:
After reading your comments I figure out what is happening: your browser has not the gwt-plugin installed, so the first time it connects to a gwt-dev-mode app, the app redirects it to the gwt site to download the plugin and install it.
You have either, connect this computer to the internet to install the plugin the first time it is requested, or download the plugin and install it manually.

Connecting Coda to local Wordpress install hosted with Mamp Pro

I have been using Coda and regular version of Mamp for local development for longtime without getting into this permission mess. I recently, upgraded to Mamp Pro and setup it with VHosts. I have a site example.com with it's root path set to /Users/john/Sites/example. I have set the owner and group to www in Mamp Pro.
The moment I got all this configured I started having problems with Coda. It keeps asking me the username and password to edit the local files at /Users/john/Sites/example. I guess I have to enable FTP on my Mac and then add a site in Coda to stop it asking me to enter username password for every single file. However, I have no idea on how to get this working. I am using Lion 10.7.2
Additionally, I have setup etc/hosts file for pointing example.com to 127.0.0.1
UPDATE: Though the accepted answer by #mini does not directly answer this question. It is still an elegant solution with seamless integration with Coda.
Consider using DesktopServer instead (along with Coda 2). Unlike MAMP, you can work on template theme files directly with WYSIWYG preview, LAN share for mobile device testing (with WordPress, -not just HTML sites), enables AirPreview to work with WordPress, copy, import/export to live sites, etc. Setup is easy as it manages your vhosts, database, and project files in about three mouse clicks:
http://www.youtube.com/watch?v=Pw9-F8etBPY

Setting up Zend Framework killed my internet

I am on debian and installing zend framework. I got to the part where you create the virtual host. It never worked for me. And now my internet is down. I've been trying to figure it out and revert all the changes I did. My hostname is back to what it was, I deleted the other entry in the etc/hosts file. I can't even ping a website. It says Cannot connect to hostname when I try to open a page in the browser. Any help?
Apache virtual host is not effect to your internet connection.
Make sure is correct your internet setting in the machine. (IP/Route)
Restart you network.