Click here to Skip to main content
15,896,348 members

Comments by maysam_p82 (Top 79 by date)

maysam_p82 4-Aug-23 10:23am View    
Actually, I provided all of the dependencies, dbcontext,... but there are lots of inheritances inside classes. But I still don't know why I face such an error. I have searched it for over 2 days. But I didn't find anything similar to my error on the Internet. I guess it looks for a dependency for Identity! Is there any other way to initialize my variables without DI?
maysam_p82 1-Apr-20 12:12pm View    
Now the binding is like this :
<binding protocol="http" bindinginformation="*:80:*">
but it still doesnt work with 127.0.0.1:51036
maysam_p82 1-Apr-20 11:43am View    
No I ve already disabled the firewall. But I think the problem is that IIS refuses all requests on 127.0.0.1 (as it s a vital for android and is another meaning of 10.0.2.2)
how to enable it ? I ve used some methods such as applicationhost.config and tried to change this file but I wasnt success.
maysam_p82 1-Apr-20 11:39am View    
Right now I tested the URL under IP:127.0.0.1 and it returns:



<title>Bad Request




Bad Request - Invalid Hostname



HTTP Error 400. The request hostname is invalid.
maysam_p82 1-Apr-20 11:30am View    
how to find out the reason service app rejects the request from ip 10.0.2.2?:(