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
WAKEONLAN(8)						    BSD System Manager's Manual 					      WAKEONLAN(8)

NAME
wakeonlan -- send Wake on LAN frames to hosts on a local Ethernet network SYNOPSIS
wakeonlan [interface] lladdr [lladdr ...] DESCRIPTION
The wakeonlan program is used to send Wake on LAN (WoL) frames over a local Ethernet network to one or more hosts using their link layer (hardware) addresses. WoL functionality is generally enabled in a machine's BIOS and can be used to power on machines from a remote system without having physical access to them. interface is an Ethernet interface of the local machine and is used to send the Wake on LAN frames over it. If there is only one Ethernet device available that is up and running, then the interface argument can be omitted. lladdr is the link layer address of the remote machine. This can be specified as the actual hardware address (six hexadecimal numbers separated by colons) or as a hostname entry in /etc/ethers. wakeonlan accepts multiple lladdr addresses. Link layer addresses can be determined and set using ifconfig(8). FILES
/etc/ethers Ethernet host name data base. SEE ALSO
ethers(5), ifconfig(8) AUTHORS
wakeonlan was written by Marc Balmer <marc@msys.ch>. BSD
May 25, 2012 BSD
All times are GMT -4. The time now is 02:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy