I am uploading image from android emulator to server(which is not registered in DNS) using php script. But I got the following error.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /Upload.php was not found on this server.</p>
<hr>
<address>Apache/2.2.3 (CentOS) Server at "SERVER NAME" Port 80</address>
</body></html>
I have done entry of server name and IP address in host file c:\Windows\System32\ect\hosts. I try to open same URL from browser and it is working, Then why it is not working in emulator?
I am also facing same problem while downloading image from same server, How to solve this issue?