LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2009, 01:57 PM   #1
h725
Member
 
Registered: Apr 2008
Posts: 114

Rep: Reputation: 15
Accessing from Internet to daemon binded to localhost


Hi all,

I've a daemon listening on 127.0.0.1:4287 (custom tcp port).
Now, I need to access to this daemon from Internet.
I can't bind the daemon to the public ethernet address.
I was thinking of iptables..

# iptables -t nat -A PREROUTING -p tcp --dport 4287 -j DNAT --to-destination 127.0.0.1:4287

but this not work!
I see incoming connection from outside, but the daemon dosen't reply.
Anyone can help me?
Thank you!
 
Old 03-09-2009, 02:25 PM   #2
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi,

may i take a look at that tcpdump -i lo?
i'm curious also
 
Old 03-11-2009, 03:52 PM   #3
h725
Member
 
Registered: Apr 2008
Posts: 114

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rossonieri#1 View Post
hi,

may i take a look at that tcpdump -i lo?
i'm curious also
Absolutely NOTHING
Any suggestion ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Object not Found error when accessing localhost. calculemus Linux - Networking 6 10-22-2006 10:52 PM
Samba problem with accessing localhost:901 rcj2 Linux - Networking 27 11-28-2005 07:50 PM
localhost internet address pete_bogg Red Hat 2 10-31-2003 07:00 PM
Could not look up internet address for localhost? Rv5 Red Hat 4 09-29-2003 08:02 PM
Errors on accessing Swat SAMBA http://localhost:901 @ Mandrake 9.0. Zepiroth Linux - Networking 2 06-03-2003 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration