I have a ASP.NET C# Website, The website working on my friends pc (I made it there), but on my pc I get this error :
No connection could be made because the target machine actively refused it 127.0.0.1:50160
I tried to disable the firewall but it didn't help.
I think that the problem can be fixed from the Web.config file, but I don't know how to fix it.
Any help ?
Related
I have a web app that used to run on IIS at http://localhost:3878/Admin; however now for some reason I get this error when I try to access it in a browser:
This site can’t be reached
The connection was reset.
Try:
Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics
ERR_CONNECTION_RESET
Why would I be getting this error all of a sudden when the app worked earlier today? I checked in IIS to make sure the app is started. The IIS logs are not showing any requests to this app. Event Viewer shows a compile error related to this app (I tried to access an include aspx page directly from the browser; I want to fix that issue with the web app where it's displaying the source code from the aspx pages that are used in #include statements) but that shouldn't take the app down once and for all should it?
If someone else face ERR_CONNECTION_RESET with http. Then you could try https first. If https binding fix the problem. It would help narrow down the root cause.
You may need to check whether require https has been enabled or mistake. In some case, enable https or HSTS in project will cause ERR_CONNECTION_RESET.
Of course, enable https would be considered as a workaround.
I am building an ASP.NET MVC 5 application and I run the server locally and it works fine, but I can't seem to connect to it from an external device.
The URL is localhost:60884 . I navigate with my phone to <internal_IP_address>:60884 and I get a ERR_CONNECTION_TIMED_OUT error.
I have disabled the firewall and I have tried to connect the PC on my phone's WiFi HotSpot, but no success.
Can someone tell me how to solve this?
You should be able to do this by setting it up in project properties. In Visual Studio if you go into the Web tab on the right, there'll be a Start URL you can choose
Whatever address you put in there you should be able to navigate to on your phone, provided you're on the same network. You are likely getting the timeout error because your device can't connect to the server's address at all.
Hope that helps!
So this is the issue. I have a spring mvc application. When I start the application in Intellij, tomcat starts(http://localhost:8080/home) but I eventually get a message that the site cannot be reached. The ip address(192.168.251.49) its trying resolve is not my localhost. If I use my localhost ip(192.168.2.19) it works, but I get an notification that the site is not secure. This started last week, I was working from home, so I was connected to work via a VPN, and I was remoting into my work pc. Then on my home pc I had started up this app, then after closing my connection to work this problem started happening.
Any suggestions on how to fix this? Thanks.
For testing/learning purposes I've been trying to publish a website(build in asp.net) in IIS on windows 10. I enabled everything, made everything as saw on Microsoft tutorials, and youtube tutorials, yet, it seems its not working.
I try to access it thru the Site name I specified, and IP. but its not working.
this is the error keep getting
"This site can’t be reached
projectmms.com’s server DNS address could not be found."
NOTE: projectmms.com is the name/url I specified for the website.
Why is this error keep showing up? I made everything as seen in those tutorials.
and have checked many answers here from other posts, followed the same suggestion and nothing is working. Any suggestion?
EDIT:
after made what few of you requested, this is what I get. This is not my asp.net website.
even tried projectmms.com/default.aspx , it shows that it didn't found the page.
any help?
This is what shows now
You need to add projectmms.com in your hosts file.
add this in C:\Windows\System32\Drivers\etc\host
projectmms.com Your_Server_IP_Address
That will work locally.
You need to add projectmms.com domain to your host file (windows\system32\drivers\etc\host) and forward to your local IP (127.0.0.1).
This should be a comment, not a reply as you give us little to no info.(but I need 50 rep in order to do so)
Is the IIS in your machine or a remote one.
Did you add the name in the DNS server or the HOSTS file.
Do you reach the machine by ping (hostname/ip)?
Did you start the ISS service?
P.S.Ask if you don't understand any of the above points.
Using IIS Express you can only local host access, you have come to enable IIS on Windows resources?
see
http://www.howtogeek.com/112455/how-to-install-iis-8-on-windows-8/
http://www.iis.net/learn/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later
I have an application that displays PDF files via Crystal Reports in a new window to the user. This works perfectly on my development machine and when accessing the site directly on the production server (remote desktop running browser installed on server) but when i access the site from the out side over the internet i get the error. Other reports display fine and this report used to work until i recently made some changes and re-installed the site. All code is in try ... catch but not info is being written to my error files. Cant figure out why it would work locally on the server but not over the internet and only this one report.
Have tried the System.Web attributes maxRequestLength and executionTimeout.
The Server is:
Windows Web Server 2008
IIS 7
Framework 4
This turned out to be an issue with the crystal report file, i never found out exactly why but i narrowed it down to one of the fields causing the problem, remove the field and no problem. I think it may have been linked to the reports xml based data source but cannot prove it.
Probably a firewall setting. Please make sure your firewall explicitly allows incoming connections to the TCP port 80 (or 443 for https, or anything else if you are accessing the site via another port) and try again.