It is an Oppo Android phone fully up to date. When turned on the hotspot simply says to connect with the password. There are two security settings, but neither will allow internet connection.
On the computer, the setting says it is security type WPA2-Personal with IPv4 address of 192.168.0.45 (which I fixed myself to make the home network work properly) and DNS server of 192.168.0.1 (which is my modem).
If I get the adapter on the computer to automatic IPv4 address, it shows a complex one, the connection says it is connected to the internet, but in fact I can't go there.
I can't put the computer on automatic IPv4 address as that means it won't connect to my home network when I am at home. That was the whole problem that started this.