| ||||
![]() |
Netfirms ADVANTAGE Web Hosting - Get 250GB Disk Space and 2000GB Monthly Data Transfer, 2 FREE domain names, NetObjects Fusion Web Design Software, Shopping Cart, Photo Gallery, MySQL Databases, Discussion Board, FrontPage Exts., SSL, PHP, CGI, POP Mail, WebStats and 24/7 World Class Support. "One of the best values on the Web for small business" - BusinessWeek
|
|
|
#1 |
|
Junior Member
Join Date: Aug 2009
Posts: 2
![]() |
Looking for host with MySQL, Python with non-standard port
I have a fairly specific request;
I need to run a very simple python script that looks up a url in a MySQL database opens this url and then outputs the resulting text to my browser. All sounds simple I know, but the issue is the url I need to open from my script is using a non-standard port and all hosts I've tried won't open the port for "security reasons". The URL I would want to open is something like (the long number at the end dynamically changes at random times - hence the SQL DB to keep track of it); http://sim5587.agni.lindenlab.com:12...e-e82fe341569e (For those who want to know, it's a inworld HTTP server within Second Life.) All I do is read a max of 1kb of text from the URL and then parse this in my script. So is there anybody willing to let me use your hosting service with basically no storage requirements, and bugger all bandwidth but allow port 12046 to be open for my outbound requests? Thanks Richard |
|
|
|
|
|
#2 | |
|
CEO; X-Industries
Join Date: Jun 2007
Location: United States
Posts: 2,704
![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
Please correct me if I'm wrong, you want the following: - Grab information URL - Read the info - Show the information to your browser No, for the last one, do you mean that you want it displayed on a page? Or do you want it displayed on the browser itself, like a Firefox plugin?
__________________
Sean Marvin █ Cross Industries - Affordable technology solutions E-mail: contact@x-ind.com █ Phone: (843) 879-8293 █ Hours: Weekdays, 2PM-10PM EST; Weekends, 8AM-10PM EST |
|
|
|
|
|
|
#3 |
|
Member
Join Date: May 2007
Posts: 50
![]() |
Em, i had answered this question as provider. No one will open special port for you unless you host your own server.
__________________
Jeff, CH Hosting Shared Hosting | Reseller Hosting | 1 Gbps Connection VPS Hosting |
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: Aug 2009
Posts: 2
![]() |
Quote:
Minus the MySQL stuff, this is all my script is doing... Code:
#!/usr/bin/env python
import os, string, sys, urllib
from cgi import *
def Main():
url="http://sim5587.agni.lindenlab.com:12046/cap/12c2ea33-2ff2-af64-0442-2e900833ea11"
sock=urllib.urlopen(url) # Open HTTP-IN URL data
htmldata=sock.read() # Read data
sock.close()
print("<center><font face=Arial><h1>Online Web Service</h1>")
print("<hr>")
if htmldata !="":
ar=htmldata.split(',')
print(ar[0] + "<br>")
print("Last Updated on " + ar[1] + "</h2></center>")
print("<hr>")
print("<h2>Currently Online</h2>")
for x in range(2,len(ar)):
print(ar[x] + "<br>")
else:
print("Unable to retrieve data from in-world.")
print("<hr>")
Main()
Richard [EDIT] I'm happy to put a text link at the bottom of the page. At this stage I have over 700 users which a good percentage will access the script at least once a day, and users grow by about 20 a month so there will be some potential exposure. Last edited by rpalmer68; August 6th, 2009 at 17:31. |
|
|
|
|
|
|
#5 |
|
CEO; X-Industries
Join Date: Jun 2007
Location: United States
Posts: 2,704
![]() ![]() ![]() ![]() ![]() ![]() |
Well, I would host you, but I cannot open a port on my server. Sorry.
__________________
Sean Marvin █ Cross Industries - Affordable technology solutions E-mail: contact@x-ind.com █ Phone: (843) 879-8293 █ Hours: Weekdays, 2PM-10PM EST; Weekends, 8AM-10PM EST |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free Python/CGI Web Hosting Package - cPanel - PHP - MYsql | stonerocket | Free hosting offers | 0 | February 21st, 2009 04:52 |
| Free Python/CGI Web Hosting Package - cPanel - PHP - MYsql - .hta access | stonerocket | Free hosting offers | 0 | January 1st, 2009 07:38 |
| Free Python/CGI Web Hosting Package - cPanel - PHP - MYsql | stonerocket | Free hosting offers | 0 | October 28th, 2008 18:21 |
| Need free host..(Req: 1 MySQL,SSH access, no port blocking, PHP, Perl) | netddos | Free hosting requests | 8 | August 9th, 2005 04:33 |
| Port Mysql | heukw | Free hosting requests | 6 | February 23rd, 2002 06:18 |
| Free webhosting | News | Search free hosts | Free file hosting · Free image hosting | Forums | Advertising Info | Contact Us |