Login: Port 443 (HTTPS) needs to be opened for outgoing traffic.
Calling: All UDP ports need to be opened for calling.
For Wire to work correctly the app needs to be able to access wire.com (including subdomains like e.g. app.wire.com) on port 443.
For embedded content (like YouTube, Vimeo, etc.) and to generate link previews the app must be able generally access TCP ports 80 and 443.
For calling the app needs to be able to do outbound UDP connection in general.