Hmmm. I'd say if this suggestion works, it's a fluke. Or you have your computer directly on the Internet, not behind a router running Network Address Translation (NAT).
This will not reset any IP address that the public Internet sees.
All this **might** do is to reset the local PC's address within the local network the router creates, the one typically with 192.168.1.0/24. Or your router might have your MAC cached and simply assign the same IP it had before.
You could renew/release the connection to get DHCP to perhaps give a different address.
BUT your router is what presents a public IP address to the outside world.
So if you really think he needs to reset his IP address, tell him to reset his router.
Now the OP says a couple things changed recently:
-- moved, but "on the same wifi" (really your computer is extremely likely on a different "network" even if it's the same wi-fi provider.
-- changed from 22 back to 19
@rauschfan you don't mention the duration of the problem did you get it fixed yet? What are you specifically trying to download?
I suspect it was just something transient. It basically can't be the spam/virus checker, because the 22 traffic wasn't flagged.
way too much information about why rebooting/etc doesn't effectively get you a new IP address, as far as the internet cares:
If you are like everyone else, you are getting Internet from cable, fiber, Elon, etc. You don't care, except there's a box in your house with Internet or wifi, your router. Typically it used Dynamic Host Configuration Protocol (DHCP) to assign addresses to all the devices on your network that ask for one. You could in theory have a static IP setup, in which case no amount of resetting/renewing will change your IP.
So the public Internet never sees the internal, local addresses in that typical range like 192.168.1.0/32. When your router gets traffic from a device plugged into a LAN port (or on the wifi part of the LAN), it assigns an ephemeral port to that connection and then presents that traffic to the outside world on the router's IP and the port assigned. In a nutshell, the Internet only sees your router's WAN address and the public port that was chosen to handle that traffic. The router translates between the local address and port to the outside-world router address and port.
Way too much information, actually for my on Google fiber I don't have to use their router, I have an Orange Pi running a firewall facing Google, and then my own router is behind that. So if I renew my connection from my router to the Orange Pi, it's setup to give the same IP every time. This way I know what IP address to SSH into to administer the network-facing device.