localhost

HTML script element localhost uri

Hi, This may seem like a silly question, but consider the following use of the 'script' element to import an external javascript file: <script src="http://localhost:8085/myscript.js" type="text/javascript" > Given that this is a url and not a file path, would this be evaluated server side or client side? If evaluated client side, t...

iphone sdk: playing video from localhost?

Hi guys, I have a server socket (on port 3490) in my app which has a video data - It runs on a different thread. Now I have a mpmovieplayercontroller and would like to read the data from the socket and play it. I'm not sure what url should I pass to it. I've tried file://localhost:3490 http://localhost:3490 but this doesn't work. Pleas...

How to reduce the need for IISRESET for developing ASP.NET web app in IIS 5.1

I have a web application project on my dev PC running WinXP and hence IIS 5.1. The changes I'm making to this site seem to "take effect" only after I do IISRESET. That is, I make a source change, Rebuild the project and then Start without Debugging (or with debugging). The newly changed code is not "visible" or in effect unless I interve...

Can't initialize local server for my Rails apps

Hi all, My rails apps have been freaking out on me lately. I start my local server by running "ruby script/server" like normal. The server starts, but when I try to access it via "http://localhost:3000/", it throws me a 500 error. This happens for all my rails apps, even the old ones I've left unchanged for several months now. Here ...

push and pull for offline reps + Mercurial.

Hi friends, I'm a new Mercurial user, I keep reps offline, and work offline. when everything is done at local, I do upload to server. is this right way? I dont have any rep at server, because of i couldnot setup mercurial to server [bluehost]. so I have nothing to do with push or pull. am I wrong? regards... ...

How can I control DOCUMENT_ROOT to work on localhost and live server?

To keep URLs working in version-controlled projects, I've been using $_SERVER['DOCUMENT_ROOT']. The problem is, I develop projects within a folder, so I get this: $_SERVER['DOCUMENT_ROOT'] . '/folder/path/to/file.php' When I go live, I generally simply want the following: $_SERVER['DOCUMENT_ROOT'] . '/path/to/file.php' I know there ...

how to hide files in the www directory

Is it possible to hide a folder from the www directory so that the php files will not be seen if you access it through a web browser? I'm doing this because I'm not yet good enough to secure those files and the mysql database that they are manipulating. Or even a trick that would make the web browser not to be able to access the localho...

How do I find my local host and username on mysql?

I need to open my database through PHP but I need to know my username and the name of my localhost, and i don't know them. When i used mysql and did my database it just asked me directly for a password. ...

Sending locally sent email (with sendmail) to Google Apps Mail Server

Hi. I have a domain, call it mydom.com. A while ago I started using Google App's email server. I set up MX and the rest of the stuff records as Google wanted, and all is working well since. On www.mydom.com I have a website, DNS and still running mail server (which basically doesn't do much). Among other things, on www.mydom.com, I hav...

Configure WCF for LOCALHOST-only listening

Similar to the Visual Studio development web server (Cassini) limitation that it only servers on localhost, I have a WCF Service implementation that is only needed on localhost. I wouldn't mind other machines having access, except that the Windows Firewall prompts to allow the program to listen on the externally-facing NIC. Since thi...

How can I avoid my web browser from redirecting to localhost using WAMP in Windows7?

I'm currently using Windows 7 with WAMP to try and work on some software, but my web browsers will not accept cookies from the "localhost" domain. I tried creating a few bogus domains in my hosts file by pointing them to 127.0.0.1 but when I type them in I am automatically redirected back to localhost. I have also configured virtualhosts...

Running sites on "localhost" is extremeley slow.

Hello all, Having real trouble using my local host to test sites. It runs extremely slow! Sometimes up to a minute to load a page. I'm using firefox and the sites i'm testing run fine on other developers in my office local machines/ on the production server. I've gone through the normal things :- Disabled IPv6 Not running in debug mo...

Local host WAMP server is not working?

HEllo, I have download the wordpress at my local machine. and designing my website using wordpress. i have download the wanp server and it working fine at loca server last 2 months. 2 days back i run the registry cleaner software for maintenance purpose. but after that when i tries to open wordpress logine details at local server (my ...

How to mimick SSL when developing locally in asp.net?

I have a asp.net mvc application. Some pages require SSL, is there a way to mimick ssl locally through cassini or IIS 7? Edit So I followed the directions for the answer below that linked to ScottGu's blog post. ...

Is there an easyier way to publish silverlight & wcf services from localhost to IIS?

Hello, Is there a simpler way to deploy/publish silverlight & wcf projects from localhost enviroment to a IIS server? I have a web project with a self host wcf service which my silverlight application references. When I work locally I set the reference address to htt://localhost:8080/MyService.svc -and when I want to put it on the IIS...

How to access localhost websites through http request from blackberry simulator?

Hi Everybody I am developing a blackberry application and i wanted to access the websites from my localhost( local machine). I am running the application on blackberry simulator 8350. From my code i can browse request any website from internet and i am getting the response. When i am trying to give the url as localhost:8080/portal/in...

Ruby server very slow outside localhost (teambox)

I just installed TeamBox on my Ubuntu 9.10 server. I have it up and running on port 3000 using the provided server script. It's running extremely slow, up to 30 seconds per HTTP request when connecting from another computer. I used links to load up TeamBox from the shell and it took no time at all. I then setup an SSH tunnel and agai...

Specifying --host1 as localhost with port 8983 in autobench

I am using autobench for benchmarking in ubuntu 8.10 autobench --single_host --host1 localhost --uri1 /solr/admin --low_rate 20 --high_rate 200 --rate_step 20 --num_call 10 --num_conn 5000 --timeout 5 --file bench1.tsv This is the command which I gave. It is taking the default port as 80 and the number of replies and requests are as ...

index.php is not opening and running as download the file!

Hi friends, when I run the url at localhost for a php file like: http://localhost/project/admin/ it doesnt open the index.php, but gives panel for downloading the file with the message below :/ You have chosen to open which is a: application/x-httpd-php from: http://localhost What should Firefox do with this fil...

the coding problem in server

$fp = fopen("http://feeds.reuters.com/Reuters/PoliticsNews?format=xml","r") or die("Error reading RSS data."); The above coding working correctly in localhost;;; but in server display "Error reading RSS data."... i dont know why.... anybody please explain me... i am waiting... thanks ...