- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Guys,
Stuck on below point ---
Brief on what i am doing ---
1) Hitting a PHP file, which is hosted on a WAMP server on a remote machine.
2) Edison & remote machine are on same network
3) Can hit php on local machine, but getting problem from edison.
============================================================================
if (client.connect(server, 8080)) {
Serial.println("--> connection ok\n");
client.print("GET/ test.php?"); // This
client.println(" HTTP/1.1"); // Part of the GET request
client.print( "Host: " );
client.println(server);
client.println("Connection: close"); // Part of the GET request telling the server that we are over transmitting the message
client.println(); // Empty line
client.println(); // Empty line
client.stop(); // Closing connection to server
Serial.println("--> finished transmission\n");
}
==================================================================================
Need a quicker, super quick response..
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Gray-Worm,
Thank you for interest in the Intel® Edison Breakout Board.
I understand you want to hit a PHP file that is located on a remote machine. When you perform the request from a local machine, the request is successful, but the request fails when made through the Edison board.
Could you please elaborate a bit more on the issue you are experiencing? Any error message appears while making the request? Is the PHP file partially transferred? Are you using the exact same code in your local machine? Is there a guide or site you are using as reference to write your code?
I'll be waiting for your response.
Regards,
Andres V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Dear Andres,
The issue is resolved, bad was on configuration file.
# Virtual Hosts
#
ServerName localhost
DocumentRoot c:/wamp64/www
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Gray-Worm,
I'm glad to hear that you could solve the issue.
Thank you for sharing your experience, the community appreciates it.
Regards,
Andres

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page