Shizzell Posted March 16, 2006 Share Posted March 16, 2006 Hello,I currently have Easy php. I designated the directory root in apache as C:/WWWand i currently get no error in my error log except: [Thu Mar 16 16:40:53 2006] [error] PHP Notice: Undefined offset: 2 in c:\\www\\footer.php on line 15[Thu Mar 16 16:40:53 2006] [error] [client 127.0.0.1] File does not exist: c:/www/idlerpg.png[Thu Mar 16 16:41:19 2006] [error] [client 127.0.0.1] File does not exist: c:/www/idlerpg.png[Thu Mar 16 16:41:53 2006] [error] [client 127.0.0.1] File does not exist: c:/www/idlerpg.png[Thu Mar 16 16:41:53 2006] [error] [client 127.0.0.1] File does not exist: c:/www/idlerpg.pngBut I believe these are not seriuose problems. Anyways, when i log into: LocalHost The website comes up perfectly the way it should (Except for a few pictures)However my friends cannot log into my website. The website is: mirpg.no-ip.infoMy ip is: 74.33.105.147 Window's Firewall is off. I think i might need some help with my router being configured. Thanks for the helpShizzell Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/ Share on other sites More sharing options...
redarrow Posted March 16, 2006 Share Posted March 16, 2006 do a nslookup in the dos prompt and post your ip the one you provided is wrong or meachine or server off also tell us what router you got as you need to assign the local host ip to port 80 or 8080.If your router has a dynamic dns setting put your dynamic dns name within it the free one you got from the provider of noip.To see if the server is set correctly goto [a href=\"http://localhost\" target=\"_blank\"]http://localhost[/a] Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18152 Share on other sites More sharing options...
Shizzell Posted March 16, 2006 Author Share Posted March 16, 2006 Alright in commandprompt, i did nslookup: C:\documents and settings\owner>nslookupDNS request timed out. timeout was 2 seconds.*** Can't find server name for address 192.168.254.254: Timed Out*** Default servers are not availableDefault server: UnknownAddress: 192.168.254.254>and i have a Speedstream 6520 wireless router/Modemthanks Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18154 Share on other sites More sharing options...
redarrow Posted March 16, 2006 Share Posted March 16, 2006 [!--quoteo(post=355716:date=Mar 16 2006, 11:13 PM:name=Shizzell)--][div class=\'quotetop\']QUOTE(Shizzell @ Mar 16 2006, 11:13 PM) [snapback]355716[/snapback][/div][div class=\'quotemain\'][!--quotec--]Alright in commandprompt, i did nslookup: C:\documents and settings\owner>nslookupDNS request timed out. timeout was 2 seconds.*** Can't find server name for address 192.168.254.254: Timed Out*** Default servers are not availableDefault server: UnknownAddress: 192.168.254.254>and i have a Speedstream 6520 wireless router/Modemthanks[/quote]You have provided the local meachine ip what your isp ip. Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18156 Share on other sites More sharing options...
Shizzell Posted March 16, 2006 Author Share Posted March 16, 2006 I went to IPchicken.com:74.33.105.147and yes the localhost works Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18157 Share on other sites More sharing options...
redarrow Posted March 16, 2006 Share Posted March 16, 2006 [quote name='Shizzell' date='Mar 16 2006, 11:17 PM' post='355719']I went to IPchicken.com:74.33.105.147[a href=\"http://localhost\" target=\"_blank\"]http://localhost[/a]what it say on the screen. Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18159 Share on other sites More sharing options...
Shizzell Posted March 16, 2006 Author Share Posted March 16, 2006 Localhost is exactly like it should be.It has my webpage that my php files are. Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18160 Share on other sites More sharing options...
redarrow Posted March 16, 2006 Share Posted March 16, 2006 [!--quoteo(post=355722:date=Mar 16 2006, 11:23 PM:name=Shizzell)--][div class=\'quotetop\']QUOTE(Shizzell @ Mar 16 2006, 11:23 PM) [snapback]355722[/snapback][/div][div class=\'quotemain\'][!--quotec--]Localhost is exactly like it should be.It has my webpage that my php files are.[/quote]sorry but your going to have to use the forum of your router.Becouse when you do a nslookup on any computer conected to the net you should see your isp ip, your getting your local ip so i think you need to configere the router in there forum ok.What i am trying to say you see noip can not dynamicly update there dns beacouse your showing a local ip so your sever will never be live also no one will ever see your webpages.Need the router sorted first ok.good luck. Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18164 Share on other sites More sharing options...
txmedic03 Posted March 17, 2006 Share Posted March 17, 2006 If they are getting a 404 (File Not Found) error then my first thoughts would be to check and make sure my router had port 80 (this is the default httpd port) open and directed to my server computer. Then if no one could access the server still I would check to see that my server was listening to port 80 for httpd requests on all IP addresses and not just my loopback or LAN address. This is, of course, where I start because you already stated the server works from your machine. That would be where I would start anyway. Let us know if that does not solve the problem so someone can come up with some more ideas. Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18176 Share on other sites More sharing options...
shortj75 Posted March 17, 2006 Share Posted March 17, 2006 did you configure the apachi httpd config file to listen to your ip address if not you can open you page by localhost or by [a href=\"http://127.0.0.1\" target=\"_blank\"]http://127.0.0.1[/a] and you wont beable to open it by your address Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18214 Share on other sites More sharing options...
txmedic03 Posted March 17, 2006 Share Posted March 17, 2006 There should be a default line in httpd.conf that says "Listen 80". If you changed it, change it back and try again. Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18228 Share on other sites More sharing options...
Shizzell Posted March 17, 2006 Author Share Posted March 17, 2006 alright, i changed the listen 80 to:Listen 74.33.105.147:80However, apache won't start and in the error log file:[Fri Mar 17 16:32:14 2006] [crit] make_sock: could not bind to address 74.33.105.147 port 80go to:[a href=\"http://www.dslreports.com/forum/remark,15706063\" target=\"_blank\"]http://www.dslreports.com/forum/remark,15706063[/a]for more in depth information about my system.help? thanks Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18449 Share on other sites More sharing options...
shortj75 Posted March 17, 2006 Share Posted March 17, 2006 this is what my listen sections looks like from my httpd.conf for easyphp1-8## Listen: Allows you to bind Apache to specific IP addresses and/or# ports, in addition to the default. See also the <VirtualHost># directive.##Listen 3000#Listen 12.34.56.78:80Listen 61.68.81.130:80are you sure you got the right ip addressgo to the start button then click run type in cmd in the text box and hit oknow in the command prompt window type ipconfig and hit enter and you will see ip address and that is your ip address next to it or did you go to My Network Places on the left click on view network connections the right click you connection go to properties click the advanced tab check the box next to protect my computer and twords the bottom there is a button called settings click on that check all the boxes then hit ok if that doesnt work then i dont know Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18455 Share on other sites More sharing options...
Shizzell Posted March 17, 2006 Author Share Posted March 17, 2006 [!--quoteo(post=356044:date=Mar 17 2006, 06:51 PM:name=shortj75)--][div class=\'quotetop\']QUOTE(shortj75 @ Mar 17 2006, 06:51 PM) [snapback]356044[/snapback][/div][div class=\'quotemain\'][!--quotec--]this is what my listen sections looks like from my httpd.conf for easyphp1-8## Listen: Allows you to bind Apache to specific IP addresses and/or# ports, in addition to the default. See also the <VirtualHost># directive.##Listen 3000#Listen 12.34.56.78:80Listen 61.68.81.130:80are you sure you got the right ip addressgo to the start button then click run type in cmd in the text box and hit oknow in the command prompt window type ipconfig and hit enter and you will see ip address and that is your ip address next to it or did you go to My Network Places on the left click on view network connections the right click you connection go to properties click the advanced tab check the box next to protect my computer and twords the bottom there is a button called settings click on that check all the boxes then hit ok if that doesnt work then i dont know[/quote]I changed my listen to: 192.168.254.1exactly like it said in ipconfig.then i could not access it via localhostIt brougth up page cannot be displayedI did change the properties, network places, etc. and my internet basically shuts off. The modem itself doesn't shut off however, but all of my connects go offline and i cannot access any website Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18457 Share on other sites More sharing options...
shortj75 Posted March 17, 2006 Share Posted March 17, 2006 i dont know why it shuts down you internet but changing that to you ip address will let other ppl view your page when it is set to 127.0.0.1 it only allows your comp to view the pages no one frome the out internet can view with the ip address you had in there it was lokking for another comp to listen to aand couldnt find itto view your page you have to type in [a href=\"http://192.168.254.1\" target=\"_blank\"]http://192.168.254.1[/a] or [a href=\"http://192.168.254.1/index.php\" target=\"_blank\"]http://192.168.254.1/index.php[/a] or your mainpage addressyou may also have to restart your serverand did you go to mynetwork spaces and turn on the firewall then click settings button and check all the boxes thenk click ok then ok again because if you didnt you or anybody else will beable to view your site because you computer is not setup to run a webserver until you do that Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18460 Share on other sites More sharing options...
Shizzell Posted March 17, 2006 Author Share Posted March 17, 2006 [!--quoteo(post=356049:date=Mar 17 2006, 07:10 PM:name=shortj75)--][div class=\'quotetop\']QUOTE(shortj75 @ Mar 17 2006, 07:10 PM) [snapback]356049[/snapback][/div][div class=\'quotemain\'][!--quotec--]i dont know why it shuts down you internet but changing that to you ip address will let other ppl view your page when it is set to 127.0.0.1 it only allows your comp to view the pages no one frome the out internet can view with the ip address you had in there it was lokking for another comp to listen to aand couldnt find itto view your page you have to type in [a href=\"http://192.168.254.1\" target=\"_blank\"]http://192.168.254.1[/a] or [a href=\"http://192.168.254.1/index.php\" target=\"_blank\"]http://192.168.254.1/index.php[/a] or your mainpage addressyou may also have to restart your server[/quote]well I changed listen 192.168.254.1:80and I goto: 192.168.254.1 and I get the website i wantand i changed mirpg.no-ip.info to that address also,and i see it at mirpg.no-ip.infohowever my friends cannot see the website.Help? Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18461 Share on other sites More sharing options...
shortj75 Posted March 17, 2006 Share Posted March 17, 2006 after you chane lisyen to you ip address local host doesnt work because it is listening to your ip address now and not local host did you go to mynetwork spaces and turn on the firewall then click settings button and check all the boxes thenk click ok then ok again because if you didnt you or anybody else will beable to view your site because you computer is not setup to run a webserver until you do that after all that go to [a href=\"http://192.168.254.1\" target=\"_blank\"]http://192.168.254.1[/a] and it should open your index page or a parent directory pageafter you chane lisyen to you ip address local host doesnt work because it is listening to your ip address now and not local host did you go to mynetwork spaces and turn on the firewall then click settings button and check all the boxes thenk click ok then ok again because if you didnt you or anybody else will beable to view your site because you computer is not setup to run a webserver until you do that after all that go to [a href=\"http://192.168.254.1\" target=\"_blank\"]http://192.168.254.1[/a] and it should open your index page or a parent directory page Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18462 Share on other sites More sharing options...
txmedic03 Posted March 18, 2006 Share Posted March 18, 2006 Do not specify an IP address. If you put it as Listen 80 then your httpd (That's hyper text transfer protocol daemon or in other words Apache) will bind to all IP addresses related to that system on port 80. This means that it will listen on 127.0.0.1 at port 80 for incoming http requests and 192.168.254.1 at port 80. The 192.168.254.1 is your system's IP address on the local network and 127.0.0.1 is a loop back address which is only viewable from the local computer (this is aliased as "localhost"). Requests will come in across your DSL/Cable modem through your router (this may be built into your modem) which more than likely has a dhcp which assigned the 192.168.254.1 IP address to your system your router will forward traffic from the public IP address given to it by the ISPs dhcp through the modem on port 80 to your system on port 80 assuming you have configured it all correctly. It depends on the router and how it is configured as to what your IP address will be. Some routers give a 192.168.xxx.xxx by default and allow you to forward specific ports. The built in router on my modem uses 10.0.xxx.xxx and allows forwarding of ports or to simply DMZ (DeMilitarized Zone) a system on my local network which then inherits the public IP address. I would no recommend DMZing if available on your router, but that is just my humble opinion on the matter. I personally like my linksys router with port forwarding. :-) I hope that this helps you to at least understand IP addresses a little bit better and your httpd listen directive. Fix your configuration and then let's focus back on the problem at hand. Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18532 Share on other sites More sharing options...
Shizzell Posted March 18, 2006 Author Share Posted March 18, 2006 Wow guys this was so damn easy. Goto Ipconfig in cmd. change the listen part in easy php to the ip address in ipconfig. with port 80. Port forward port 80 in router and thats it. [a href=\"http://mirpg.no-ip.info\" target=\"_blank\"]http://mirpg.no-ip.info[/a] Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18585 Share on other sites More sharing options...
txmedic03 Posted March 20, 2006 Share Posted March 20, 2006 Have all my responses fallen on deaf eyes? Change it to port 80 WITHOUT the IP address. This will allow the server to listen to ALL IP addresses bound to that system. If you ever changed the IP address of the system, provided your router is forwarded on port 80, your server will still be accessible across the web.People that ask questions and never pay attention to the answers will be the death of me. Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-18996 Share on other sites More sharing options...
redarrow Posted March 20, 2006 Share Posted March 20, 2006 [!--quoteo(post=356612:date=Mar 20 2006, 10:34 AM:name=txmedic03)--][div class=\'quotetop\']QUOTE(txmedic03 @ Mar 20 2006, 10:34 AM) [snapback]356612[/snapback][/div][div class=\'quotemain\'][!--quotec--]Have all my responses fallen on deaf eyes? Change it to port 80 WITHOUT the IP address. This will allow the server to listen to ALL IP addresses bound to that system. If you ever changed the IP address of the system, provided your router is forwarded on port 80, your server will still be accessible across the web.People that ask questions and never pay attention to the answers will be the death of me.[/quote]A fact if you have a dynamic ip address you got to have the apache set to port 80 to listen to all ip address.Also another fact if you goto the noip service provider and update your ip live that noip service provider will get your current ip address there and then.In some cases you have to use a dns program for the noip to get your current dynamic ip address and have that program on the start bar with your deataild within the program.My best advice is to sign up for a new accuont with [a href=\"http://www.dyndns.com\" target=\"_blank\"]http://www.dyndns.com[/a] they offer a good stable service and 5 free sub domains and free dynamic update programs.This service afther sign up will automatickly pick your ip address up when you create a new sub domain name and becouse the service is used on demand from lots of people there are also loads of free php scripts that will keep your dynamic ip address updated in the back ground.what to do.1: set the apache to port 80.2: sign up for account setup a sub domain.3: download a dynamic ip address program put you deatails in and your new sub daomain name the press update.4: enjoyThis is your modem and provider infomation on your service ok[a href=\"http://support.frontiernet.net/wireless/\" target=\"_blank\"]http://support.frontiernet.net/wireless/[/a]How to configre your modem ports for fowarding and other things.[code]1) Using your web browser, launch the router's web management interface located at http://192.168.254.254 and login with the appropriate username and password.2) Click [Setup] on the left-hand side of the page3) Click [Port Forwarding] on the left-hand side of the page4) Under Add/Edit entry, select either the service or protocol and TCP/UDP ports, whichever is applicable to your situation. If you select 'protocol and TCP/UDP ports', be sure to enter the appropriate range of port numbers for your situation.5) Select either 'redirect selected protocol / service to this router' or 'redirect selected protocol / service to IP address', whichever is applicable to your situation. If you select 'redirect selected protocol / service to IP address', be sure to enter the appropriate IP address for your situation.6) Click 'Apply'[/code]good luck. Quote Link to comment https://forums.phpfreaks.com/topic/5119-easy-php/#findComment-19005 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.