Usually it goes the opposite way - the phone is the hotspot to provide internet for the computer.
How is the computer getting the internet connection? Most computers can't act as a WiFi client AND host at the same time.
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See this link for instructions on how to join Android Central.