2 solutions,1、use WCF provide resident local service for front-end call to obtain real local IP;2、encapsulate a browser provided method for the front end to call;      In fact, I used both, in different ways in different scenes