DEV Community

Tipu Bajwa
Tipu Bajwa

Posted on

Features Not Working When Accessing React project via local network(local IP)

I faced an issue where my React app worked perfectly on localhost but when I tried to access it via my local IP address, certain features broke.
I have a copy button in my React project that works perfectly on localhost but it stops functioning when I run the project using my local IP address. Everything else seems fine but this feature doesn’t work on the network. Has anyone encountered this issue or have suggestions on how to fix it? Any help would be appreciated!

Top comments (0)