Saturday, 10 June 2017

local PHP & local node.js (react-native)

I have local apache server XAMPP which runs on 80 port and local php file. In browser i can open this file in browser "localhost/test/test.php" and "localhost:80/test/test.php" . Also i have react-native app, and it starts npm server on port 8081. In this app i want to make request to local php file. But when i make request it returns 404 error. I understatnd that it happens because npm server doesnt know about local apache server, so i want to understand how to combine them. Thanks.



via Максим

No comments:

Post a Comment