How to access WebIOPi from internet?

2,333 views
Skip to first unread message

pmielone

unread,
Apr 18, 2013, 4:43:56 PM4/18/13
to web...@googlegroups.com
I have problem when accessing WebIOPi from internet (outside home) and instructions found this far hasn't solve the problem

WebIOPi works fine when accessing from home network:
http://raspberrypi:8000/

I have StaticIP address and I have set-up that in DNS.
When Apache is running I can get access to Raspberry:
http://raspberrypi.*****.com/

How to access WebIOPi from Internet? I have tried to find from internet and this site, but no luck yet :(
I have made port forwarding 8000 to 8000 in router, but it doesn't make any difference.
Neither Alias redirecting in Apache solve the problem (only webiopi main page shows up).

Maybe there is a missing link in my procedure? Please advice...

trouch

unread,
Apr 18, 2013, 4:58:30 PM4/18/13
to web...@googlegroups.com
in your router you just have to forward your public port 8000 to raspberry pi port 8000
then use http://raspberrypi.*****.com:8000/

you can also try to shutdown apache and change webiopi port to use 80 instead of 8000

this is all about network / router configuration
there is nothing special to do in webiopi to make it accessible from internet




--
You received this message because you are subscribed to the Google Groups "WebIOPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webiopi+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

pmielone

unread,
Apr 19, 2013, 1:38:34 PM4/19/13
to web...@googlegroups.com
Thanks trouch for advice! I got that working and so I'd like to sharing here how to:

Setting router port forwarding using port 8000
(This example is from "Thomson TG712 router", but should be applicable also to other ones)

  • log in to your router (if problems try instructions here: http://portforward.com/english/routers/port_forwarding/default.htm)
  • find "Home network"
  • find "devices"
  • First create rule for port 8000. Somewhere there is "Assign a game or application to a local network device"
    • in "Game & Application Sharing", select
    • "Create a new game or application". [This creates port 8000 forwarding rule]
    • Give name you remember like "RasPi8000"
  • continue and find "Manual Entry of Port Maps"
  • select and enter following settings
    • Protocol: Any
    • Port Range: 8000 - 8000
    • Translate To ...    8000
    • Trigger Protocol: Any
    • Trigger Port: Any
  • find device "raspberrypi" [this is name of your device, is under WLAN or ethernet]
  • select "Configure"
  • select "Connection sharing"
  • add 2 things - you need both
    • HTTP Server (World Wide Web) [this is HTTP server setting]
    • RasPi8000 [this is port 8000 setting]
When successfully done, you can access your

Apache server:

raspberrypi.*****.com

WebIOPi:

raspberrypi.*****.com:8000
Message has been deleted

Tom Zhou

unread,
Aug 6, 2013, 5:54:48 AM8/6/13
to web...@googlegroups.com
try peer-proxy to expose webservice on Pi:

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=36&t=49173

Best regards
  Tom

Gunawan Wijaya

unread,
Aug 31, 2013, 5:46:06 AM8/31/13
to web...@googlegroups.com
or you can just use DMZ i use TP-Link TL-WR740N it works for me :D

but you just use subdomain on your WebIOPi server, idk if it will work..

its better you just use your public IP to point to your WebIOPi, Good luck

Matthew Wyatt

unread,
Sep 15, 2013, 1:14:47 AM9/15/13
to web...@googlegroups.com
This may be a dumb question....but what is the "*****" in "http://raspberrypi.*****.com/". I am currently just connected locally with my IP address 198.162.x.xx:8000 . Also, I can not open it with "http://raspberrypi:8000/" locally. I guess I am just asking for a bit explanation on the whole process of connecting over the internet. Any info is greatly appreciated Thanks!  

Toshi Bass

unread,
Sep 15, 2013, 1:17:54 PM9/15/13
to web...@googlegroups.com
Hi Matt,

Forget the raspberrypi bit you don't need it, you just need to setup port forwarding on your router for port 8000 when I did this on my router it gave me a new  IP address to connect to from the internet, so besides the internal ip address 198.162.X.XX     I have a external ip address like  XX.XX.XXX.XX  accessible from any browser anywhere I just enter http;//XX.XX.XXX.XX:8000 and I get the webiopi authorization password box , enter that and your on your web page,  I guess different routers have a different way to add port forwarding, however for sure they will all have this facility, if you get stuck just google your router make  model and port forwarding for some information how to do it, nothing has to be setup on webiopi only port forwarding on your router.

By the way 4 post up is how to set up a "Thomson TG712 router", this is roughly the same steps a went through as I remember, however its an old post so forget the Apache server bit and the reference to raspberrypi you just need your internal ip address instead.

Hope it helps

Toshi Bass
Reply all
Reply to author
Forward
0 new messages