Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Doubts about the access from the WAN on site asp.net core ...

$
0
0

Hello to all, Icreated a websitewithasp.net1.1coreMVCI havemade all the necessaryconfigurations, i can connecttothe home pageonly ifI map"127.0.0.1"or "public IP"withvirtual sitename in the hosts fileof the machinefrom whichI connect(serverin the first caseandfrom anyremote machinein the second case)with the address"http: //virtualsitename: port"Otherwiseif I connectwith the followingURL"http://IP:9191/ virtualsitename"or "http://IP:9191" I havethe following error:

Bad Request - Invalid Hostname

HTTP Error 400. The request hostname is invalid.

Ifto get to mysiteIuse a link locatedon another siteas it should be thelink?


Viewing all articles
Browse latest Browse all 9386

Trending Articles