On Windows Phone 8.1 your network must be already saved if you want to connect to it with a static IP.

You need to do it only once. There are many possibilities to save your network: