localhost

Running Basic Flex Projects over HTTP?

How do you configure Flex Builder to run basic flex projects over http (http://localhost/MyProject.html)? I can't figure out how to use crossdomain.xml files when running locally via something like file:///Users/Me/Flex/MyProject... Running this on a Mac with Safari/FireFox. Thanks! ...

Localhost issue with Net.Msmq endpoints on Windows 7

I've just moved my development to a Win 7 64-bit machine and am having some wcf endpoint issues. As far as I can see the net.msmq endpoints that point to localhost do not work. The messages do get sent but appear in an outgoing msmq queue that constantly says 'Waiting to Connect'. As far as I was aware msmq messages sent to a private q...

IOException when making HttpWebRequest to local ASHX file

Greetings, all. Here is my situation. I am attempting to make an HttpWebRequest to a local handler file and I keep getting the following exception: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. Now, I'm using a local handler file because I am writing some integration...

ASP.NET WebService deny remote access.

I've created an ASP.NET WebService that is to be consumed using ASP.NET Ajax. The WebService is located on the same box and same web application that it is to be used by, so I do not want to allow remote access to this webservice, but have it only respond to requests from localhost. The Web.Config DOES NOT have a configuration section ...

Gzip ASP.NET in debug mode

I've tried to setup compression (both dynamic and static) in IIS7 for my local system, but when start my ASP.NET site using the debugger, YSlow tells me that all of the files (aspx, js, css, etc.) are not compressed. Any ideas? I really want to test this before I make changes to the production server. ...

How do I use Fiddler to listen to the asp.net development server (i.e. cassini)?

I am attempting to debug a (RESTful) WCF app using Fiddler. I run my project via VS IDE - which launches my app in the ASP.NET Development Server aka Cassini. I then launch Fiddler and in the Request Builder tab enter the following: "http://localhost:1066/GeneralService/sections/summary" with GET as the http method. Fiddler respon...

can a Flash app running in browser connect to localhost to get data from another app?

it seems that Flash was supposed to run in a sandbox in the browser. But, if Flash can get data from a remote server, can it similarly get data from localhost IP on the same machine? In other words, can I use a Windows app that provides a TCP socket on localhost to feed data into a Flash app? EDITED: ok, the answer is yes at least for ...

What's the whole point of "localhost", hosts and ports at all?

I'm totally new to this web development stuff. So I see things like "localhost" all the time and ask myself: What's that? I feel to know what a "host" actually is. Something that executes something. So my mac is the host for everything that runs on it. So "localhost" is actually just my mac? Can I have also other hosts? like "otherhost...

Home_path issue with RoR testing locally on mobile device

When I use <%= link_to image_tag("foo.png"), home_path %> and display it on my localhost on my iPhone, it's broken. When I inspect on with firebug, the src of the image is http://localhost:3000/images/foo.png thus causing it to break on my iPhone. When I use <img src="/images/foo.png" /> it displays fine on my iPhone. I am point...

How to secure Jetty to only allow access from loopback(localhost)

How can I secure jetty to only allow connections from localhost? This means a connection to server A from Client/Server B has to fail. I know I can do this by configuring my firewall (so please no answers about this). I just want jetty to not listen on localhost. I used google with for example "jetty localhost" but it did not return any ...

Why http://localhost:8080 availabe while 127.0.0.1 not? (JSP on MyEclipse+Tomcat)

The System's hosts file is fine, 127.0.0.1 localhost is there... Ping 127.0.0.1,or my IP, the result is also fine.. Myeclipse's version is 8.0 and I'm just using the Tomcat within it. A simple JSP+Javabean web project so is deployed. Now the situation is when I open MyEclipse and start the Tomcat, I can access my site throuth http://...

Facebook Connect from Localhost, doing some weird stuff.

So maybe the documentation is out of date, or I am just off here. But I have done a slew of FB iframe apps (connect), but I am starting my first FB Connect site. Running it from localhost, and the Connect URL is http:// my_external_IP_address. When I click on the FB login button on my site, it pops up, says waiting for facebook, and it ...

Problem with Apache on Mac OS X

I'm using Apache for my website, so that I can see it on other computers on the LAN, and it worked fine until recently, where I suddenly can't access my site from my local IP, even through I have web sharing enabled. I just get a message that it can't connect to the server. I can still visit it through localhost. When I start Apache thro...

testing blog locally?

Hi, I have a blogger template(xml file). Is there any way to test or run the blogger theme locally? Thanks in advance ...

What is the purpose of the Microsoft Loopback Adapter?

Just as the question says, what is the Microsoft Loopback Adapter, and as a bonus, what scenerios as a developer would it be useful? I've noticed it's been required when installing a couple of applications to my machine, but aside from guessing, I've never have had a sturdy understanding of it's functionality. I've read a couple of arti...

Shared Apache / MySQL / PHP setup on multiboot

In short: I have a multiboot machine with Win XP, Windows 7 and Ubuntu, and I would like my localhost web projects to be shared by all three OSes. Details: I finally want to get rid of Windows XP for my web development work, but my local Apache + PHP + MySQL stack is tied to my old OS, and I spent some time and thinking to tweak this se...

Performance of local domain vs localhost

Is there a performance difference between TCP connections to: localhost / 127.0.0.1 a domain which resolves to the local machine Or more specifically, do the latter connections go through the loopback device, or over the actual network? The reason I'm asking is I'm thinking about changing database settings in many PHP apps so they u...

How do I open http://localhost in my web browser from Vim?

Basically, I want to tell Vim: Open my web browser (for instance, Firefox) Open this file (say index.php) in thought this address : http://localhost In other words: http://localhost/index.php PS: Unfortunately I use Windows XP ...

download a folder from server to local host...

I have a code to downolad a particular file that is stored at a particular location on the server... for example i have a file untitled.bmp in the C: drive of my server and i download this to my localhost using the particular code... protected void Button1_Click(object sender, EventArgs e) { string filepath = (@"C:\untit...

How can I detect if the user is on localhost in PHP?

In other words, how can I tell if the person using my web application is on the server it resides on? If I remember correctly, PHPMyAdmin does something like this for security reasons. ...