DEV Community

[Comment from a deleted post]
Collapse
 
afiasori profile image
AfiasOri

your backend are hosted on a remote server or localhost? you can't use localhost:PORT on another device, but if they share the same router you can change "localhost" to PC's ip address.
to find out your PC's address simply type ipconfig on cmd and find IPv4 Address.
if that's not the case i would like to see some code attachments.

Collapse
 
sachinchaurasiya profile image
Sachin Chaurasiya

Thank you for the help 😊.
I got the error part and solved it.