hotwires81 wrote:I tried to remotely access webiopi today and was unsuccessful. I have verified port forwarding settings and all is correct. I can hit port 80 on my Pi and call up a page from Apache2, however when I try port 8000 I get a "no response from server" message. Tried two different offsite ISP's (DSL and 3G). Is there some code in the web server portion that blocks IP outside of the Pi's subnet? That's sure what it acts like. Any suggestions?
hotwires81 wrote:Problem resolved. It's working fine tonight. I setup a new 512MB RPi tonight and loaded webiopi on it, worked fine, switched back to the 256MB pi and it worked as well. I rebooted my router before trying it, so I guess that was the problem. Any way to change the username and password?
Sorry I miss your message, but happy you solved your networking connection.
Right now, the only way to change the login password is to make your own python script which will wrap webiopi.Server class.
Code: Select all
# First import webiopi
# Instantiate the server on the port 8000, it starts immediately in its own thread
server = webiopi.Server(port=8000, login="webiopi", password="raspberry")
# We need to loop/sleep to keep the Server thread running
# Break the loop by pressing CTRL-C
# Cleanly stop the server