/set irc.server.tilde.addresses "localhost/6667"
in weechat, port 6667 is implied so you can just use "localhost" as the address if you so desired.
localhost, port 6667, ssl
ssl should only be enabled for port 6697, not 6667 (unless you changed something that i'm not aware of).