When we modify the IP address on our own computer, how can we modify it when we call our own local webservice in the project, so that the webservice referenced in the project will not be affected?
Solution:
(1) First change the IP referenced in vs in WebService,
(2) Then open Control Panel-open Administrative Tools-in open Internet Information Services (IIS) Manager-Open your own site-Select bindings-Modify IP.
(3) Also note whether you need to modify the IP address of the computer in the database connection, or it will appear not connected to the database phenomenon public static string strconn = @ "Data source=60.95.19.198; Initial Catalog=db;integrated security=true; Pooling=false ";
When we modify the IP address on our own computer, how can we modify it when we call our own local webservice in the project, so that the webservice referenced in the project will not be affected?