just saw this in XEP-0065:
The “port” attribute specifies the port to connect to. This attribute MAY be present. The value MUST be a valid port number in decimal form. If not specified, the port value is “1080” (in accordance with RFC 1928).
Therefore I wonder if Openfire’s File Proxy port of 7777 should be changed to 1080?