dcsimg
A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Totally the wrong place for this, but...can you help me get localhost onto the net?

  1. #1
    Senior Member
    Join Date
    May 2002
    Location
    Toronto
    Posts
    117

    Totally the wrong place for this, but...can you help me get localhost onto the net?

    Hi everyone, I've had a server for over a month at home, trying to get Flash MX and Coldfusion/php up and running so my sites can have logon, search engines, etc.

    I can currently go to my workstation, which is hooked up to a router, as is my server, and I type in the local IP address of the server and my server default page comes up on my workstation. In other words, the little http://localhost/default.asp I made works from server to workstation (something like http://168.192.123.xxx/default.asp if I recall, from the workstation).

    But when I connect to the internet outside my home, nothing comes up when I enter that same IP.

    I've been told I need to reconfigure the WAN and put it on port 80, but that's essentuially jibberish right now to me.

    I can provide the following info, if any of it helps...

    I've run a 'check IP' type program to say what things are on the server, and I've checked the router firmware. Would you be able to tell me what exactly I have to change given the following:

    With the 'ip checker' I got:

    LAN IP: 192.168.123.xxx
    Computer: myserver
    WAN IP: 65.48.144.230
    Hostname: CPE014480023487.cpe.net.xxx.xxx.com

    And this is what it says in the default page of the firmware of the router:

    IP Address 65.48.144.230
    Subnet Mask 255.255.xxx.xxx
    Gateway 65.48.xxx.xxx
    Domain Name Server 24.153.xxx.xxx, 24.153.xxx.xxx

    Sorry for being such a dope, brand new at this stuff. And I'm sorry for asking here, but I've not had much success anywhere else.

    Here's a screenshot of the firmware for the US Robotics router I have:

    http://members.rogers.com/shawn.gibs...hy2/router.jpg

    Sorry for asking here, but I'm getting a little desperate.

    Shawn
    (I edited this once I got up and running as I was told it was careless to have the numbers all up)
    Last edited by shawn gibson; 10-12-2002 at 05:52 PM.

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    I can only give some general advice (no idea about USR boxes)
    at the moment the router should be set up to allow outgoing connections only. You definitely want to change that so that incoming connections on port 80 (no other ports at the moment) get sent to that specific 192.168.123.* address.
    If the router is dynamically assigning addresses, you might also want to change that (at least for this one machine) - there will be a setting on the router to allow the lower half of the 192.168.123.* subnet as fixed addresses, and there is also a setting on your computer to use a fixed ip. Definitely use an IP in the 192.168.123.* range here.
    From the outside: is your WAN ip constant? the weird hostname indicates it might change every now and then. In that case I would suggest to register with a service like dyndns.org - you can download software from them that sends your ip to their nameserver whenever the router or the link restarts. That way you get a registered name (like shawngibson.dyndns.org)
    Never try to reach 192.168.*.* addresses from the internet - they are reserved for private networks and will not be routed - but only the WAN ip address or name

    Musicman

  3. #3
    Senior Member
    Join Date
    May 2002
    Location
    Toronto
    Posts
    117
    Thanks Musicman, I'd say you made my day, but if this stuff works, you've made my month. I'll get cracking as soon as I get home from work.

    Very much appreciated

    Shawn

  4. #4
    Senior Member
    Join Date
    May 2002
    Location
    Toronto
    Posts
    117
    Would someone please be kind enough to lemme know if http://65.48.144.230
    is now getting you into this crazy server thingie of mine? Should just be a boring blue on white text page.

    Thank GOD for colour, cuz numbers el stinko

    Shawn

  5. #5
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi Shawn,

    you should just occasionally check your access log to see whether there are visitors from outside ...

    BTW: dont be surprised if there are requests for files like root.exe, default.ida and other strange things, usually with fairly lengthy paths. These are just people attempting to spread virus to microsoft server ...

  6. #6
    Senior Member
    Join Date
    May 2002
    Location
    Toronto
    Posts
    117
    Thanks Musicman, wouldn'ta got it without you

    It's a little scary, since I'm not sure exactly what people can access, not am I yet certain on how to allow/deny folders acces, but now that I'm up, it's out of necessity one of the things to learn.

    Kind of exciting, acually--time to learn a log-on script

    Shawn

  7. #7
    Member
    Join Date
    Sep 2002
    Location
    Ireland
    Posts
    76
    Originally posted by shawn gibson
    Would someone please be kind enough to lemme know if http://65.48.144.230
    is now getting you into this crazy server thingie of mine? Should just be a boring blue on white text page.
    Yep...got a white page on that IP if that helps

    For Security make sure you've got a
    Firewall + an intrusion detector & also a file integrity checker

  8. #8
    Senior Member
    Join Date
    May 2002
    Location
    Toronto
    Posts
    117
    Thanks bac2.

    Boy, do I have a lot to learn. I got a Flash thing started today (bones, raw bones, are up there now) so I can experiment with some fundemental server ideas, like a log-in/registration requirement, a simple forum with a database, ews updates, etc. So I haphazardly started a community type page for artists last night...but WOW, there's so much to learn.

    Do any of you know where I might find a complete, simple log-in/register tutorial that uses Flash MX as the front end, and any combination of php/mySQL/Access/Coldfusion MX in the middle and back? Every tutorial I'm finding (and my books) assume you know something of this-or-that, and there are always those holes. I'm a very "let's try and modify something that already works" kind of learner, so I'm not getting very far with that approach.

    O well, the fun's begun

    Shawn

  9. #9
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    there is a login/register with text file at www.neuralust.com/~mingdocs - it does have a php/ming or perl/ming code instead of a fla (obviously) but a description on how the movie is organized. Also try to view the movie frme by frme from the player menu.
    Backend exists in php and perl flavors as well

    As for server security: I do not have password protection on the server (unless I specifically do a project including password protection) but rather use virtual hosts: the _main_ server just delivers those projects I want to make available for others. Now I run a virtual server set to the local name of the machine (could be "mycomputer") that has all the nice features enabled, and a different docroot. If someone gets very tricky, they might be able to view some files once they guess that local name - but most probably those requests would end up with the great discovery that the requested file could not be found on www.mycomputer.com
    Of course it is a great idea to restrict access to all ports other than http and perhaps ftp - in particular those that you do not know about. YOur USR box should do that for you.
    And it is also great idea to read those server logs routinely and check for any unusual activity

    Musicman

  10. #10
    Member
    Join Date
    Sep 2002
    Location
    Ireland
    Posts
    76
    I'm into ASP myself, good if you are deploying to NT servers

    http://www.asptutorial.info/

    http://www.devarticles.com/categories.php?catId=21

    http://www.asp101.com/articles/flash/

    http://www.udzone.com/showDetail.asp...=2&NewsId=2002

    This is the start of a tut on creating a message board using Flash and ASP (just use the links on the left hand side to work thro the tut)

    http://www.smartwebby.com/Flash_and_ASP/default.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center