Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi con Server Host localhost
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Dimmy
n00b
n00b


Joined: 29 Dec 2004
Posts: 19
Location: Trst

PostPosted: Mon Jan 10, 2005 10:24 pm    Post subject: problemi con Server Host localhost Reply with quote

Ho installato gnocatan (clone del famoso gioco da tavolo "I coloni di Catan"). Il problema e' che non mi parte il gioco da single play (con lA).
Cliccando su "join private game" e selezionando localhost su porta 5556, mi da come risposta:

Connecting to localhost, port 5556
Error connecting to host 'localhost': Connection refused

...eppure dovrebbe funzionare... perche' l'ho gia' installato tempo fa (su un'altra installazione)...

Qualcuno ha idea del problema :?:
.
_________________
Dual Boot - GENTOO GNU/Linux 2005.1 (/boot ext2, swap, /ext3, /home ext3)
Notebook: DELL INSPIRON 8200, Pentium 4 M, 1400x1050, ATI 9000 M, 768 MB RAM, HD 60 GB 7200 rpm, CDRW/DVD, ADSL Flat
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31612
Location: here

PostPosted: Mon Jan 10, 2005 10:25 pm    Post subject: Reply with quote

Il tuo file /etc/hosts e' a posto?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Mon Jan 10, 2005 10:37 pm    Post subject: Reply with quote

ma il lato server è in esecuzione? iptables che dice?

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Mon Jan 10, 2005 10:46 pm    Post subject: Reply with quote

banale: eth.lo è startato?
Back to top
View user's profile Send private message
Dimmy
n00b
n00b


Joined: 29 Dec 2004
Posts: 19
Location: Trst

PostPosted: Tue Jan 11, 2005 8:45 am    Post subject: Reply with quote

fedeliallalinea wrote:
Il tuo file /etc/hosts e' a posto?


Si, dovrebbe essere aposto (infatti kde mi va che e' una scheggia)


comio wrote:
ma il lato server è in esecuzione? iptables che dice?


Non so risponderti... non so dove e cosa cercare... come faccio a controllare? :oops:


comio wrote:
banale: eth.lo è startato?


Idem... come controllo? :oops:


Sorry :roll:
.
_________________
Dual Boot - GENTOO GNU/Linux 2005.1 (/boot ext2, swap, /ext3, /home ext3)
Notebook: DELL INSPIRON 8200, Pentium 4 M, 1400x1050, ATI 9000 M, 768 MB RAM, HD 60 GB 7200 rpm, CDRW/DVD, ADSL Flat
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31612
Location: here

PostPosted: Tue Jan 11, 2005 8:59 am    Post subject: Reply with quote

Dimmy wrote:
=DvD= wrote:
banale: eth.lo è startato?


Idem... come controllo? :oops:

Code:
# rc-status boot | grep net.lo

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Dimmy
n00b
n00b


Joined: 29 Dec 2004
Posts: 19
Location: Trst

PostPosted: Tue Jan 11, 2005 9:23 am    Post subject: Reply with quote

fedeliallalinea wrote:
Code:
# rc-status boot | grep net.lo


Ok, e' in esecuzione (net.lo started).
Cos'altro posso controllare? lato server - iptables - come faccio?

Grazie
_________________
Dual Boot - GENTOO GNU/Linux 2005.1 (/boot ext2, swap, /ext3, /home ext3)
Notebook: DELL INSPIRON 8200, Pentium 4 M, 1400x1050, ATI 9000 M, 768 MB RAM, HD 60 GB 7200 rpm, CDRW/DVD, ADSL Flat
Back to top
View user's profile Send private message
dboogieman
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 197

PostPosted: Wed Jan 12, 2005 2:37 pm    Post subject: Reply with quote

Ciao per verificare ip tables puoi usare,

Code:

#iptables -L

per verificare come consigliato all'inzio /etc/hosts puoi verificare come segue il mio per esmpio e' cosi:

#cat /etc/hosts
# /etc/hosts: This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.7 2002/11/18 19:39:22 azarah Exp $
#

127.0.0.1 localhost
192.168.x.x mioFQDN dove FQDN=fully qualify domain name

Spero possa esserti utile.

Ciao

dboogieman
Back to top
View user's profile Send private message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Wed Jan 12, 2005 3:15 pm    Post subject: Reply with quote

Scusate, ma per vedere se un'applicativo server e' lanciato, non basta vedere se c'e' un processo con quel nome
Code:

# ps -aux | grep nomeprogramma

o senza il grep sgrufolando sulla lista o dando un more

Cioe', voglio capire dal basso della mia n00baggine: se voglio vedere se sul mio pc c'e' un'applicativo server lanciato devo emergere per forza iptables 8O 8O 8O ???

mouser :wink:
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Jan 12, 2005 4:03 pm    Post subject: Reply with quote

mouser wrote:
Cioe', voglio capire dal basso della mia n00baggine: se voglio vedere se sul mio pc c'e' un'applicativo server lanciato devo emergere per forza iptables


Credo che lsof possa aiutarti....

Code:
sys-apps/lsof
      Latest version available: 4.71
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 978 kB
      Homepage:    ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README
      Description: Lists open files for running Unix processes
      License:     GPL-2

_________________
Ciao da me!
Back to top
View user's profile Send private message
dboogieman
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 197

PostPosted: Wed Jan 12, 2005 5:18 pm    Post subject: Reply with quote

Ciao a tutti forse ho specificato poco nel caso si utilizzi iptables

Code:

#iptables -L

lista tulle regole di ogni chain (input,ouput,forward) e' un comando di verifica per listare le "access-list' imposte al traffico, invece come leggo alcuni topic prima, concordo sia con l'utilizzo di ps aux che lsof per verificare i processi in carico alla macchina (con i relativi nomi) e lsof che da piu' specifiche sempre in merito ai processi in running sulla macchina.
Scusate se sono sto un po' vago ma mi era parso che dovesse verificare come collegarsi al servente, o perche' non vi si collegava su quella data porta che menziona.

Ciao

dboogieman
Back to top
View user's profile Send private message
Dimmy
n00b
n00b


Joined: 29 Dec 2004
Posts: 19
Location: Trst

PostPosted: Sat Apr 02, 2005 7:37 am    Post subject: Re: problemi con Server Host localhost Reply with quote

Dimmy wrote:
Ho installato gnocatan (clone del famoso gioco da tavolo "I coloni di Catan"). Il problema e' che non mi parte il gioco da single play (con lA).
Cliccando su "join private game" e selezionando localhost su porta 5556, mi da come risposta:

Connecting to localhost, port 5556
Error connecting to host 'localhost': Connection refused
.


Ho risolto il problema... :roll:
Posto qui' la "soluzione" nel caso altri riscontrino lo stesso "problema".

Prima di lanciare il client del gioco, bisogna far partire il programma del server con il comando:

gnocatan-server-gtk

Da qui si possono settare tutte le opzioni e mappe che si vuole, infine fate partire il server cliccando su "Start server"
Ora potete lanciare il clint del gioco con "gnocatan" e cliccare sul pulsante "Join private game"

Buon divertimento ;)

Dimmy
_________________
Dual Boot - GENTOO GNU/Linux 2005.1 (/boot ext2, swap, /ext3, /home ext3)
Notebook: DELL INSPIRON 8200, Pentium 4 M, 1400x1050, ATI 9000 M, 768 MB RAM, HD 60 GB 7200 rpm, CDRW/DVD, ADSL Flat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum