Home > Net >  IIS after published to the network always automatically jump to localhost
IIS after published to the network always automatically jump to localhost

Time:10-04

As title, iis launch site to the local area network (LAN) there is no problem, used the passthrough devices to the network, the network access address: 113.113.120.117:7899/Login. Aspx, most of the time will automatically jump to the local host and lose connection, sometimes after logging in, click the content is also automatically to the local host,

Please help to guide

CodePudding user response:

To your project in the global search the local host is hard-coded

CodePudding user response:

Where are you write dead should be

CodePudding user response:

Ctrl + F the project query localhost

CodePudding user response:

There is certainly a place hard coded or check the iis

CodePudding user response:

If errors occur after turned to

CodePudding user response:

Where an error occurred jump will go wherever you find, should be able to quickly found the problem

CodePudding user response:

One line of code in the jump to see,
  • Related