localhost

hosts file and multiple sub-domains

For local testing (and learning), I wish to use x.com host name instead of localhost. I changed my Windows XP host file to this - 127.0.0.1 x.com Now http://x.com/ works beautifully but http://www.x.com doesn't. :( What changes should I make so that www.x.com, sub1.x.com, sub2.x.com etc.. all work on local. WordpressMU will let...

Paypal - How can i debug IPN locally?

Currently i am working on the sandbox. Is there any way of forwarding (e.x via my router) the IPN's of the Notification URL to localhost, in order debugging it with Visual studio? ...

Customizing the cassini webserver

Currently the local webserver exectutes at http://localhost:51377 Is there any option of customizing the web server in order executing under http://192.168.1.2:51377 (where 192.168.1.2 is my static intranet ip address) ...

Access Tomcat localhost:8080 of guest VirtualBox VM from Host OS

I an XP laptop. I am running a Ubuntu distro inside VirtualBox which is running a website in Tomcat. When inside the VM I can access the site with http://localhost:8080/ What I really need to do though is access the VM localhost from XP. http://vm-computer-name:8080/ isnt recognized. Any help is much appreciated. ...

How I Can Print The IP Of The Host

Hello, I'm learning C++ and i want to know how i can print the IP adress of the host machine, but remember that my program is a command line aplication(cmd), but i don't want the code, but some links here i can learn this, not copy and paste. Thanks! ...

Vista and Oracle 10g

I am getting this error message in Internet Explorer with Oracle 10g installed on Vista: The 'oraoledb.oracle.1' provider is not registered on the local machine I can connect to Oracle databases OK with SQL Server 2008 as a linked database. However, my IE 7 doesn't see it. I have installed it as administrator and tried many different ...

localhost on rails

hi, I am sending an email that contains a link to my website. I want to be able to test it locally and be able to move the scripts around to different hosts easily. In my email right now I use the following: <%= url_for(:host => 'localhost:3000', :controller => "user_activations", :action => "show", :id=>@id, :confirm=>@passcode) %> ...

My under development local drupal site become very slow, how to solve?

Hello, I am developing locally a site with drupal and suddenly it became very slow. The last thing I made was installing the internationalization module. Now when I try to reach administration panel I receive: Fatal error: Maximum execution time of 60 seconds exceeded... What to do now? Should I increase the maximum execution time...

JSONP callback doesn't execute when running at localhost

This is bizarre, I was wondering if anyone could shed some light on why this happened. Basically, I've been pulling my hair out trying to test JSONP out so I can implement a JSON web service that other sites can use. I'm doing development on localhost--specifically, Visual Studio 2008 and Visual Studio 2008's built-in web server. So as...

Trying to OAuth to Twitter and return back to http://Localhost:port

Hi folks, i'm trying to OAuth to Twitter and it then returns back to our localhost:port (eg. http://localhost:6969). I'm also trying to use Linq2Twitter. When I try and setup my application in Twitter, it's not allowing me to set the Application Website. Website. Callback URL. to be http://localhost:6969 So, how can i make twitte...

Calling across two Visual Studio localhosts with WebClient

I have two ASP.NET projects in my solution, and run on different localhost ports when I start debugging. I have a generic handler in site A, which is called by site B: String url = "http://localhost:1234/UrlOnSiteA.ashx"; WebClient client = New WebClient(); client.Credentials = CredentialCache.DefaultNetworkCredentials; client.OpenRead(...

how a proxy server can be local ?

hello all , i have a server and i setup vpn server on it, in our country some websites are blocked. but with this proxy server users can not surf websites because the websites URL are still blocked and they see block page , programs like Freegate , Gpass , how can make it for us to surf websites ? it means what happens after connecting...

Addressing localhost from a virtualbox virtual machine

I have a local test/development server (http, of course), listening to port 8000, I'm working on Linux, so to test the page on IE6/7/8 etc I run a virtual machine using virtual box; I also need to see how it look on firefox in a windows environment (fonts for instance are different). In my real machine, I open the website simply using ...

Why my httpwebrequest post to myhandler.ashx is rejected with status code 401

I've already written an HTTPHandler that gets POSTed from a ColdFusion page and it works successfully; now, I am trying to write a web application in ASP.NET so I can post a form to the .ashx handler from an .aspx page. Application Trace (trace.axd) shows the following as my last 3 entries: 2 8/14/2009 1:53:56 PM /Default.aspx 2...

.htaccess allow localhost problem

Here is the situation... I have a cron job scheduled to run that is used to backup my database. Because of the way php is installed, I'm having to use lynx to hit the php script that is performing the backup. Because this script has to live within my public_html folder I want to deny all requests except for the ones that come directly ...

Multiple SVN working copies on localhost

Hello, If I have multiple SVN working copies checked out to my local PC, what's the best way to point localhost to the copy I want to work with? I've seen the suggestion to just set a symlink to the new directory - this seemed great at first, but aren't there other important steps that must be taken when writing PHP code? For example,...

How can I look at locally-hosted projects with the Android SDK emulator?

I develop all my sites on a OS 10.5.8 server with PHP and MySQL, and I've configured my /etc/hosts and httpd.conf files to display my site at example.dev in any browser on that machine. I recently installed Android's software development kit which I'd like to use to develop and test stylesheets targeted to mobile Webkit-- but I can't ac...

Can't browse/open .aspx pages

I'm having this problem on a new cruisecontrol.net install running on Windows Server 2003 where I cannot browse to http://localhost/ccnet/default.aspx. I can, however, browse/open .html files, just not .aspx pages. The errors I get when trying to access .aspx pages are: In IE: "Internet Explorer cannot display the web page". ...

PHP Simplexml failing on localhost

Hi. I'm editing a mashup of mine where I fetch last.fm data through their API (xml). For some reason, my localhost can't connect to the file: it gives the following error. failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection ...

Server Tomcat v6.0 Server at localhost failed to start

I have actually figured this problem out, but it took me days, so I thought I would paste my solution here to aide others. I am using Fedora 11, and in Eclipse I tried adding a Tomcat 6 server and starting it. I would get the following error: 'Starting Tomcat v6.0 Server at localhost' has encountered a problem. Server Tomcat v6...