localhost

Wildcard Subdomains

I know there have been a few threads on this before, but I have tried absolutely everything suggested (that I could find) and nothing has worked for me thus far... With that in mind, here is what I'm trying to do: First, I want to allow users to publish pages and give them each a subdomain of their choice (ex: user.mysite.com). From wh...

How do I have a socket accept connections only from the localhost (in Java)?

I have a java app (not running in any application container) which listens on a ServerSocket for connections. I would like it to only accept connections which come from localhost. Currently, after a connection is accepted, it checks the peer IP and rejects it if it is not the loopback address, but I know that peer IP addresses can be s...

Is the host localhost always available for the own system?

Is it always possible to ping localhost and it resolves to 127.0.0.1? I know Windows Vista, XP, Ubuntu and Debian do it but does everyone do it? ...

Can't connect to MySQL server on 'localhost' (10061)

I recently installed MySQL 5 on windows 2003 and tried configuring an instance. Everything worked fine until i got to "Applying Security settings", at which point it gave me the above error. I do have a port 3306 exception in my firewall for 'MySQL Server'. Please help. ...

How can I browse my Tomcat localhost from another computer on the network?

I'm an IIS guy and know its as simple as just using the http://[computername]/path to webapp.. however, I can't seem to figure out how to make this possible for a JSP application I'm writing that runs under Tomcat. Is there a configuration setting I need to set somewhere? ...

Problem setting up local server

Hello! I'm trying to setup an Apache/PHP/Postgresql server locally on my machine. I tried to install everything manually (one thing at a time) and after I get everything up and running, whenever I try to run a script on my machine, I get a "What do you want to do with the *.php file?" dialog. NOTE: the dialog...

Why doesn't Visual Studio always render my page correctly when debugging locally in fire fox 2.0x?

When I debug locally in fire fox 2.0x many times my page won't have the styles added properly or the page will not completely render (the end is seemingly cut off). Sometimes it takes multiple refreshes or shift-refreshes to fix this. Is this a common issue or is it just me? Any solutions? I want to add that this is happening in fire fo...

Stop password prompt on MAMP startup

I develop using MAMP pro on my Mac. When I start MAMP it prompts me for a password if I use port 80. If I use a higher port it doesn't prompt me, but I have to append the port number in the URL ( eg dev.local:8888 ). Does anyone know how to make it not prompt for password when using standard ports? Thank you. ...

How do I get Fiddler to stop ignoring traffic to localhost?

When using Fiddler to monitor HTTP Requests & Responses in Internet Explorer it ignores all traffic directed to http://localhost. ...

Is it possible to point a local instance IIS to a shared windows file server as the home directory?

Hi everyone, I'm just beginning work with IIS, .NET, etc. so I apologize if any of this is unclear. I recently installed a local instance of IIS and it's up and running just fine. I'm wondering if it's possible to point IIS to a shared windows folder that exists on another server, and have that folder serve as the root directory for IIS...

Is it possible to make part of a site on IIS only viewable from localhost?

We've got a webserver running IIS. We'd like to run maybe a shared blog or something to keep track of information. Because of security issues, we'd like for that part to be only viewable from localhost so people have to remote in to use it. So, to repeat my question, can part of a website be made viewable from localhost only? ...

ASP.NET Development Server or Localhost IIS?

Currently our dev team set up all the websites they're working on in IIS on their local machine. We're thinking of switching to using the built in ASP.NET development server instead. Is this a good idea? What are the pros / cons of using the ASP.NET dev Server? Are there any gotchas we should be aware of? Thanks. NB: Running on Win XP...

What could cause "Connection Interrupted" on LocalHost when debugging in ASP.NET

I'm trying to run a freshly created ASP.NET Website using C#, however when I do so it launches FireFox and attempts to connect to http://localhost:1295/WebSite1/Default.aspx (for example), but after about 10-15 seconds it displays a "Connection Interrupted - The connection to the server was reset while the page was loading." Error. This...

Nod32 causing LocalHost (ASP.NET Development Server) "Connection Interrupted" Problem

I'm quoting myself on a previous question I asked to further explain: "I'm trying to run a freshly created ASP.NET Website using C#, however when I do so it launches FireFox and attempts to connect to http://localhost:1295/WebSite1/Default.aspx (for example), but after about 10-15 seconds it displays a "Connection Interrupted - The conn...

xampp includes not working

First off, how do I know if my html file is running on localhost in Xampp? Is there a tutorial on how to manage files/directories and get that all working under htdocs? Is there a good tutorial on how to setup includes? I want to use "includes" in Xampp with my html. Can I use both html includes AND php includes? Do I have to put shtml?...

How do I run a file on localhost?

How do I actually run a file on localhost? I know it is working, but how do I run a file on it, and how do I verify that the file is in fact running on localhost? Server newbie here, additional questions (I have xampp running Apache 2.2): From your responses it sounds like I have to type in the path in the browser in order to open the f...

Dreamweaver CS3 Site in Apache htdocs, missing path on localhost?

Almost have DW CS3 configured with my site to preview on localhost, except for one thing, the path is incomplete. It is missing the top directory of the site in the path when it tries to open the file. WHY??? Where do you change that? Here's what it gives me: http://localhost/0-Sections/000-ComingSoon/PHPTestComingSoonNMBT-Test.shtml ...

Why won't asp.net create cookies in localhost?

Okay, this is really kinda starting to bug me. I have a simple Web project setup located at: "C:\Projects\MyTestProject\". In IIS on my machine, I have mapped a virtual directory to this location so I can run my sites locally (I understand I can run it from Visual Studio, I like this method better). I have named this virtual directory...

Zend_Rest_Client - error on localhost

Hi everybody, I am using Zend_Rest_Client to connect Zend_Rest_Server, everything seems to be allright, but when I try to get() from the server I recieve this error: Zend_Http_Client_Adapter_Exception: Unable to Connect to tcp://localhost:80. Error #10060: A connection attempt failed because the connected party did not proper...

Can PHP be installed on a local machine?

For Web-dev, can the PHP Processor be installed on a regular Windows XP machine, such that viewing PHP files through a browser executes the PHP script? (NOT Windows Server 2003) I even downloaded PHP but it appears they want it installed on a server. Any other ways to quickly preview and run PHP on a local machine WITHOUT uploading the...