SmallNetBuilder Forums
Go Back   SmallNetBuilder Forums > Wireless Networking > ASUS Wireless > ASUS AC Routers & Adapters

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-30-2012, 03:36 PM
Marrus Marrus is offline
New Member
 
Join Date: Nov 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Marrus is just starting out
Default SOLVED - Can't connect to CherryPy services

I run several applications which I use port forwarding to expose so I can access them from outside of my home network.

I run Air Video and Calibre, and a couple of python applications that use CherryPy as their embedded web server.

After setting up a new RT-AC66U as my router, I found that port forwarding did not work for the CherryPy-based applications. Air Video and Calibre worked without any problems.

After some more testing, I found that I can access the CherryPy apps from the PC they run on, by connecting to localhost or explicitly using the IP address.

However, I was not able to connect using the (internal) IP address from a machine (inside my home network) other than the PC running the services.

What's going on and how can I fix it?

Last edited by Marrus; 12-01-2012 at 12:40 AM. Reason: Solved
Reply With Quote
  #2  
Old 11-30-2012, 05:02 PM
Marrus Marrus is offline
New Member
 
Join Date: Nov 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Marrus is just starting out
Default

The following minimal cherrypy service exhibits the problem that I described.
import cherrypy
class HelloWorld(object):
def index(self):
return "Hello World!"
index.exposed = True

cherrypy.config.update({'server.socket_port': 30596})
cherrypy.quickstart(HelloWorld())
Reply With Quote
  #3  
Old 12-01-2012, 12:45 AM
Marrus Marrus is offline
New Member
 
Join Date: Nov 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Marrus is just starting out
Default

I figured out what was causing the problem.

When I was setting up the router, I apparently accidentally configured the network in Windows 7 to Public rather than Home.

I had previously configured the CherryPy services to not be accessible in a Public network.

The solution was to change the network location to Home.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 05:19 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  364
L&LD  122
john9527  119
azazel1024  92
htismaqe  92
stevech  89
huotg01  80
jegesq  78
watusi  58
ColinTaylor  56
RMerlin  6397
john9527  504
stevech  357
ryzhov_al  298
TeHashX  263
L&LD  255
RogerSC  205
sinshiva  149
sfx2000  137
hggomes  129
Most Viewed Threads* Hottest Threads*
Old New AC68...  9526
Old Why not...  8362
Old ASUS RT-N66U...  5813
Old RT-AC66U...  3478
Old Why ASUS?  2412
Old NAS...  1842
Old Help Plz:...  1609
Old Asus...  1500
Old OpenVPN...  1457
Old Remote...  1403
Old Why not...  81
Old Remote...  46
Old New AC68...  36
Old Whats going...  28
Old Extension...  26
Old RT-N66U...  26
Old The future...  26
Old What are the...  25
Old ASUS RT-N66U...  25
Old OpenVPN...  25


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2006-2014 Pudai LLC All Rights Reserved.