Jump to content

Recommended Posts

I'm trying to show my friend my website and it's not letting him or me view it.

 

I am using my own IP-address. (dashed out for security, but it is correct)

http://--.---.--.---/index-1.php

When he and I type this into our browser, we can an error called "Resource Not Found".

 

But, when I use localhost address, it works fine.

http://localhost/index-1.php

 

Does anyone know what is wrong?

Do I need to open a specific port?

 

USING XAMPP.

 

Link to comment
https://forums.phpfreaks.com/topic/228053-resource-not-found/
Share on other sites

I do not think that your IP address and localhost point to the same place?? Are you trying to show your mate who is on another computer connected to a different network?

If so, you've got no chance without uploading it to a web server, or configuring your computer to be a web server itself, which is a real pain in the a$$.

 

Denno

Link to comment
https://forums.phpfreaks.com/topic/228053-resource-not-found/#findComment-1175951
Share on other sites

Yes, he is from another city using another network.

 

I thought XAMPP would do the work, just need to run Apache and MySQL?

I mean, it worked for me when I used localhost, there has to be some way to open the ports or something to allow him in it.

I opened 80 and 8080, but he still can't get in.

Link to comment
https://forums.phpfreaks.com/topic/228053-resource-not-found/#findComment-1175962
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.