I'm trying to create my first mobile application,the front end is written using react-native and running on my windows host machine, and in backend server which is hosted locally on my vmware ubuntu 22.04 is written using nodejs
I'm trying to send a post request to my server and write the text on the server under the following path: /home/usr/message.txt
both: windows host and ubuntu (running on my local vmware) are on the same network - VMware network is bridged.
i'm getting the following error once i try to click the send buttonERROR Error sending message: [AxiosError: Network Error]
Firewall rule is enabled on the server to allow ingoing and outgoing traffics on port 3000
find the source codes following the link bellow on GitHub