开发者

How to specify local machine to locally running web application by name?

I am debugging a locally (localhost) running 开发者_JAVA百科.NET web application. The application requires me to specify a machine by name in order to view a certain page. I have no idea what name to enter. The application asks for the following information:

Computer Name (Active Directory Computer Name)
DNS Name


Open a command prompt and type hostname. This will give you the computer name.

To find the DNS name use nslookup with your IP address as a parameter.


your best bet here is to look at the actual code to see what it is doing. If the code is asking for you to type the local machine name then it stands to reason that it might be comparing it to some value that the code is able to acquire.

Just run the same method that the code uses to get the correct value to enter...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜