Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Making webpy framework accessible from outside the local network Post 302879777 by bakunin on Sunday 15th of December 2013 09:38:37 AM
Old 12-15-2013
Quote:
Originally Posted by frad
All computers connected via wifi/ethernet to my modem/router can see the framework by typing http://0.0.0.0:8080/ or variants after I start the server with
Code:
 python code.py

OK, things start to get clearer. I understand that basically your framework is a sort of web server module. I presume it is configured correctly in its own right, because otherwise you would not be able to use it from your local network.

Next question: what are the IP-networks you use? Look at your IP-addresses and subnet masks. If the addresses are one of these:

Code:
10.x.x.x
172.[16-31].x.x
192.168.[0-255].x

you use indeed NAT and we have to sort that out first (in fact most consumer Wifi-routers do that per default). As you say you use dynamic IP addresses chances are you do not have a range of official IP addresses (who still, these days?) but merely a so-called "private address space"-network, as defined in RFC 1597. In this case, to make your server known, you will have to use dynamic DNS to keep at least the name the service is reachable at constant.

A final remark:

Quote:
If this really works you'd better never succeed in connecting the system to the internet. The network address "0.0.0.0" is the "joker for all" and if the whole world comes down on your system requesting its services chances are it won't keep up with the load.

I still would appreciate if you could give a little more information aforehand instead of letting me guess. You now said several times that your IP addresses are dynamic but were silent about your network layout (which networks, subnet masks, connected how?) save for what i explicitly asked. As your problem is most probably a firewall problem it might help a wee bit to know these things.

I hope this helps.

bakunin
 

2 More Discussions You Might Find Interesting

1. IP Networking

ssh server is attachable from local network not from another network

hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies

2. Infrastructure Monitoring

SF4800 SC not accessible thru network

Hi All, I have my SC setup as attached below but I am having problem accessing the port thru network. sc0 was accessible only after i failed over the configuratios to sc1 (now then sc1 was not pingable :(). Just wondering is there anything wrong with my sc settings? Appreciate your advice. ... (4 Replies)
Discussion started by: honmin
4 Replies
dispatch(3)						   BSD Library Functions Manual 					       dispatch(3)

NAME
dispatch -- the dispatch framework SYNOPSIS
#include <dispatch/dispatch.h> DESCRIPTION
The dispatch framework allows blocks to be scheduled for asynchronous and concurrent execution via the core functions described in dispatch_async(3) and dispatch_apply(3). Dispatch queues are the basic units of organization of blocks. Several queues are created by default, and applications may create additional queues for their own use. See dispatch_queue_create(3) for more information. Dispatch groups allow applications to track the progress of blocks submitted to queues and take action when the blocks complete. See dispatch_group_create(3) for more information. The dispatch framework also provides functions to monitor underlying system events and automatically submit event handler blocks to dispatch queues. SEE ALSO
dispatch_after(3), dispatch_api(3), dispatch_apply(3), dispatch_async(3), dispatch_data_create(3), dispatch_group_create(3), dispatch_io_create(3), dispatch_io_read(3), dispatch_object(3), dispatch_once(3), dispatch_queue_create(3), dispatch_semaphore_create(3), dispatch_source_create(3), dispatch_time(3) Darwin May 1, 2009 Darwin
All times are GMT -4. The time now is 02:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy