If you have enabled on your Samsung Galaxy S7 the mobile hotspot to access with a computer or laptop on it, then it may be that you can connect to the hotspot but that you have no Internet connection.
The cause is simply:
Often the mobile hotspot is activated on the Samsung Galaxy S7, but not, however, the mobile Internet connection.
Please check if you've enabled the mobile data connection on your Samsung Galaxy S7. After you have enabled this, you should have an internet connection on the laptop or computer which is connected to the mobile hot spot of your Samsung Galaxy S7.