I have a MVC project in React and .NET.
My server and client are running well locally. But, when I run it from IIS the server always return 500 error.
Does someone have an idea how to understand what's wrong, and why the server return 500 always?
Finally I run the application and run in local host in the server computer in order to see a verbose error information.
I did a right click on the 500-error in the network tab (after open F12) and the open in a new tab.
That's helped me understand why the server always returned 500.
Related
I have an ssl certificate(Geotrust) installed to IIS 8, listening on port 443 and running on windows server 2012-r2. This works when I access https://myapp.example.com and it shows me the standard IIS page. My problem is that I am trying to connect to the parse-server(nodejs, express) running on serverUrl: http://localhost:1337/parse. So when trying to connect to https://myapp.example.com:1337/parse
chrome says: "myapp.example.com finished the connection unexpectedly" and I cant reach the expected site.
ios-simulator says: kCFStreamErrorDomainSSL, -9806.
The connections to http works as expected on the urls described above.
I have tried to set the SSL port to 1337(and portforward 443->1337 on my router), but then I can not start the parse-server on the same port.
First time doing this, so really gratefull if anyone can point me in the right direction!
Solved by doing an reverse proxy in IIS 8.
I needed two applications in IIS and downloaded them like this: yourSite->right-click middle pane->"install application from gallery" and search & download these:
Download URL Rewrite (i downloaded 3.0)
Application Request Routing
This helped a lot:
http://weblogs.asp.net/owscott/creating-a-reverse-proxy-with-url-rewrite-for-iis
I have a rails app running in 2 different locations. The first is a developer VM. When I run the app on a thin server there, I can visit it from my desktop PC. I also have the app running with (as far as I can tell) an identical configuration on another VM. I am unable to view the site from my desktop when I try to connect there. Can anybody think of a reason? I do have an Apache server running on the 2nd VM, is that an issue?
The exact nature of the failure is that when trying to connect from another location, the browser just never responds. It doesn't display an error message or give a 404. The loading graphic on the tab just continues to spin.
Thanks.
I have installed my ASP.NET MVC 2 app to our QA servers. I set up a virtual directory and an app pool. Both have been started. But when I got the URL I get the error Service Unavailable. Not sure what this is? If I go to the log files in C:\WINDOWS\system32\LogFiles\HTTPERR then the only error that I see is:
2010-11-09 11:59:00 [IP removed] 10.58.10.79 80 HTTP/1.1 GET / 503 1118619102 AppOffline HBFGA
IIS is running on Windows 2003.
Please can someone help me?
This indicates that there's some problem with the application pool. You may take a look at the server Event Log for further details as to why it has failed.
Hello guys
i have installed wamp server Version 2.0 .. and i have tried some things and every thing ok ..
i have reboot my Desktop then some thing goes wrong when i am trying to open my local host
EMDAEMON
HTTP/1.1 404 , Not Found
should i consider re-installation ??
Reboot desktop? Open your local host? If you want to do web development you should get familiar with basic computer terminology, at least to a point when you are able to make questions that make a minimum sense.
I'll assume you have installed a bundle that includes the Apache web server and you want to configure a virtual host that's served when you load http://emdaemon in your web browser. The exact details to do so vary slightly depending on your platform. Being a newbie, I suggest you reuse the main site that's already configured and can be loaded through http://localhost. It's roughly explained at http://www.wampserver.com/en/presentation.php. Leave multiples sites for the future :)
Solved .... it seems that we have conflicts in ports ..change port in apache make it works
I am trying to publish my SilverLight application to the web and I keep getting "An error occurred while trying to make a request to URI "http://localhost:2898....".
I've changed the ServiceReferences.ClientConfig to point to the web address but the app still keeps on trying to connect to localhost.
I've opened the application in FireFox and took a look at the firebug log and it says: -
clientaccesspolicy.xml 404 Not Found localhost:2898
crossdomain.xml 404 Not Found localhost:2898.
The silverlight app is accessing the web service in the same domain, I just don't know why it is still trying to connect to localhost.
Any help appreciated.
Steve
Two things come to mind, but check your "c:\windows\system32\drivers\etc\hosts" file and make sure ure local computer name or ip isnt mapped to localhost or the network machine isnt mapped to localhost for whatever strange reason.
Is the Silverlight app And WCF Service hosted on your localmachine, or are you accessing a server on your local network?
Just open the hosts file (C:\windows\system32\drivers\etc) and uncomment the following line (remove # from the beginning of the line): 127.0.0.1 localhost
Then save it, it should work.