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, 02: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; 11-30-2012 at 11:40 PM. Reason: Solved
Reply With Quote
  #2  
Old 11-30-2012, 04: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 11-30-2012, 11:45 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

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 09:27 AM.


Top 10 Stats
Top Posters* Top Thanked
RMerlin  376
john9527  142
stevech  138
azazel1024  121
hggomes  98
sfx2000  84
noric  80
KGB7  70
F5ing  67
Kel-L  66
RMerlin  5755
stevech  334
john9527  276
ryzhov_al  272
TeHashX  227
L&LD  197
RogerSC  195
sinshiva  146
joegreat  127
sfx2000  124
Most Viewed Threads* Hottest Threads*
Old Asuswrt-Merli...  65788
Old Asuswrt-Merli...  12028
Old My...  5091
Old Most stable...  4037
Old Asuswrt-Merli...  4032
Old Thinking of...  3758
Old Asuswrt-Merli...  3563
Old RT-AC87R (U)...  3384
Old Connection...  3025
Old [HOW TO]...  2744
Old Asuswrt-Merli...  262
Old Asuswrt-Merli...  122
Old Connection...  59
Old My...  56
Old [HOW TO]...  50
Old RT-AC87R (U)...  38
Old Most stable...  29
Old USB N...  29
Old New...  28
Old Asuswrt-Merli...  27


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