Improve auto obtain IP

Please commend out these auto obtain IP functions if you want to debug
the project!
Update 2/9
Update 2/9
Update for Spring
Fix conflicts