To use the web interface you first need to set a relay:
/relay add weechat 9001
You also need to set a password:
/set relay.network.password YOURPASSWORD