|
I'd like an Apache Web Server I have installed at home to listen on port 80 and port 8080.
I've added Listen 8080 to httpd.conf and restarted the Apache services but the server doesn't seem to be listening on 8080. Punching in http://localhost:8080 times...
Started by Owen on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at serverfault):
The safest thing to do is to stop apache, make sure it is dead on that port....
In your case you'd want:
Listen 80 Listen attention to new Listen directives.
And to listen to port 443 if mod_ssl is configured.
|
|
Do you listen to anything while programming? Podcast, internet radio, etc... I've always wonder if listening to music of what not makes one more or less productive. Thoughts...
Started by Tom Alderman on
, 89 posts
by 89 people.
Answer Snippets (Read the full thread at stackoverflow):
Andrew
The one thing I don't....
I usually only listen to music while coding if I can do so for some time (a few hours.
I do listen music and podcast, but after off.
Through a proceess I find music to be a huge distraction .
|
|
Specifically, I want to listen to when programs are run and record information such as: timestamp, executable, windows name and user.
Started by E3 on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Permanent event subscription monitors events 'at all times', but if you want.
Const NORMAL_PRIORITY = 32 Const LOW_PRIORITY = 64 Const REALTIME in a txt file .
In the direction you want to go.
|
Ask your Facebook Friends
|
Imagine this sample java class:
class A { void addListener(Listener obj); void removeListener(Listener obj); } class B { private A a; B() { a = new A(); a.addListener(new Listener() { void listen() {} } }
Do I need to add a finalize method to B to call...
Started by Jeremy on
, 13 posts
by 13 people.
Answer Snippets (Read the full thread at stackoverflow):
Update:
If you want to break the cycle and not require B to explicitly remove the listener, you can WeakReference(owner); m_source = new WeakReference(source); } void listen() { // Handling reentrancy from C++ or some other language....
|
|
How would I have my C# program listen for a specific keyboard combination (say, CTRL+ALT+F2) globally. Even if my application is minimized I would want it to intercept this and do something.
Started by esac on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Article on how to do such a thing:
http://www.codeguru.com/vb/gen/vb%5Fsystem/keyboard/article.php.
|
|
On a Solaris 8 server, how do I find out what process is listening on a given port? The Windows implementation of 'netstat' offers the -o and -b switches, which show the owning process ID and name respectively. Is there an equivalent under Solaris?
Started by Murali Suriar on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Www.sunfreeware.com/
If you don't want to or can't install lsof, you can also try the command pfiles all the PIDs and find the one listening to, say, port 25:
PORT=25 for p in $(ps -eo pid) do OUT.
|
|
Hi,
example i want to make an app have listbox, and an custom dll which i can use on second app.
the first app is running always and listening for the second app, as soon as the dll function return value on second app , it will return value to the 1st...
Started by Rick on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Http://stackoverflow.com/questions/50153/interprocess-communication-for-windows-in-c-net-2-0
You can also use a socket using the loopback ip address 127.0.0.1 which is easier to understand than IPC, but not... .
This is called Inter-Process Communication.
|
|
Suppose I have attached a variety of event listener to various form elements. Later, I want to remove the entire form.
Is it necessary (or suggested) to unregister any event handlers that exist on the form and its elements? If so, what is the easiest ...
Started by jeremy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You have several options:
Listen for events on an ancestor example, you'd do:
$('foo', 'bar').each(Element.stopObserving);
This is equivalent to calling.
Will accumulate over the life of the page.
|
|
I'm not sure if this is possible in the manner I am envisioning or not so I'm hoping someone can help me wrap my head around this.
I'm wanting to inject a TraceListener into a running process - kind of. I don't actually care how I attach to the process...
Started by BenAlabaster on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
When I want to view debug.
You may want to make sure the Default listener isn't removed and use an OutputDebug tool to listen in.
But that is something the App has to do, it involves adding something to a list.
|
|
I want to create a 'generic' JPanel which can be rendered in any of the higher level Window classes ( JFrame , JDialog , or JInternalFrame to be somewhat precise.)
I want to be able to 'clean up' some static values when that window is no longer being ...
Started by Brad K. on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can register.
There's a few different options depending on the exact semantics you want.
|