Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


SpookyAwol

594 posts

Ultimate Geek


#151879 8-Sep-2014 17:08
Send private message

Not sure if this sits in this cat. but here goes.

Just playing with a Raspberry Pi as a web server.
Raspbian , lighttpd , MySQL, php etc installed and working fine.

I cant access it via the web. I believe I have done all the checks I can think of, but no joy.
I can access the web server across the internal network and its fully functional.

I have a dynamic dns service via no-ip that forwards to the dynamic IP using DNS Host (A) . I have also tried port 80 forwarding to 8080

It is then accessed via Router, port forwarded to internal static IP address and Port 80

I have tested that the Port 80 is open (Im assuming for that internal IP?) and that it works with both dynamic dns service name and with the IP address of my router.
All tests here suggest the IP and port are accessible.

I have tested the lighttpd on 80 and 8080, both with the same result.

Any words of wisdom?





Create new topic
timmmay
19626 posts

Uber Geek

Trusted
Lifetime subscriber

  #1124558 8-Sep-2014 17:24
Send private message

Port 80 will need to be forwarded from your router's public IP to the R Pi.

 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
SpookyAwol

594 posts

Ultimate Geek


  #1124633 8-Sep-2014 19:02
Send private message

I think I have?


djtOtago
980 posts

Ultimate Geek


  #1124676 8-Sep-2014 20:37
Send private message

Try setting up the lighttpd server to listen to something like port 81 or some other port, just not port 80. Then forward that port.
Some routers just don't like, or have problems, port forwarding port 80.



SpookyAwol

594 posts

Ultimate Geek


  #1125119 9-Sep-2014 15:50
Send private message

Unfortunately no.....
I thought it would be relatively easy, but although internet port tools show its open, its not happening

Using either port 80/81, the tool shows its open. When the pi is turned off, it shows as blocked (or unreachable)
It leads me to believe its a pi issue.

Obviously when the pi is working, I can still access it with the local IP, so it is serving the pages.

rhy7s
529 posts

Ultimate Geek


  #1125168 9-Sep-2014 16:30
Send private message

What is server.bind set to?

SpookyAwol

594 posts

Ultimate Geek


  #1125173 9-Sep-2014 16:49
Send private message

Sorry for my newbness - how do I check that?

rhy7s
529 posts

Ultimate Geek


  #1125191 9-Sep-2014 17:11
Send private message

Should be in /etc/lighttpd/lighttpd.conf



SpookyAwol

594 posts

Ultimate Geek


  #1125248 9-Sep-2014 19:05
Send private message

Theres nothing in there - what should I be trying?

rhy7s
529 posts

Ultimate Geek


  #1125331 9-Sep-2014 20:25
Send private message

Hmm, if it was empty I would have assumed it would be available on all interfaces at port 3000...

SpookyAwol

594 posts

Ultimate Geek


  #1125335 9-Sep-2014 20:31
Send private message

Trying Apache now as well, but similar issues. Arrggh....

djtOtago
980 posts

Ultimate Geek


  #1125343 9-Sep-2014 21:00
Send private message

Does Raspbian have a firewall?
If so is it set to only allow access from local network?

rhy7s
529 posts

Ultimate Geek


  #1125353 9-Sep-2014 21:20
Send private message

Do you have any other OSes around that you could temporarily test port 80 redirects to? e.g. SimpleServer:WWW on Windows.

SpookyAwol

594 posts

Ultimate Geek


  #1125563 10-Sep-2014 09:01
Send private message

Right. It seems I cant access it from behind the same router. If I use 3G, I get the site up and running.
So yes it is working, but means Ill need to test it on localhost.....



Create new topic





News and reviews »

Samsung Announces Galaxy AI
Posted 28-Nov-2023 14:48


Epson Launches EH-LS650 Ultra Short Throw Smart Streaming Laser Projector
Posted 28-Nov-2023 14:38


Fitbit Charge 6 Review 
Posted 27-Nov-2023 16:21


Cisco Launches New Research Highlighting Gap in Preparedness for AI
Posted 23-Nov-2023 15:50


Seagate Takes Block Storage System to New Heights Reaching 2.5 PB
Posted 23-Nov-2023 15:45


Seagate Nytro 4350 NVMe SSD Delivers Consistent Application Performance and High QoS to Data Centers
Posted 23-Nov-2023 15:38


Amazon Fire TV Stick 4k Max (2nd Generation) Review
Posted 14-Nov-2023 16:17


Over half of New Zealand adults surveyed concerned about AI shopping scams
Posted 3-Nov-2023 10:42


Super Mario Bros. Wonder Launches on Nintendo Switch
Posted 24-Oct-2023 10:56


Google Releases Nest WiFi Pro in New Zealand
Posted 24-Oct-2023 10:18


Amazon Introduces All-New Echo Pop in New Zealand
Posted 23-Oct-2023 19:49


HyperX Unveils Their First Webcam and Audio Mixer Plus
Posted 20-Oct-2023 11:47


Seagate Introduces Exos 24TB Hard Drives for Hyperscalers and Enterprise Data Centres
Posted 20-Oct-2023 11:43


Dyson Zone Noise-Cancelling Headphones Comes to New Zealand
Posted 20-Oct-2023 11:33


The OPPO Find N3 Launches Globally Available in New Zealand Mid-November
Posted 20-Oct-2023 11:06









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.







Lenovo