View previous topic :: View next topic |
Author |
Message |
Dimmy n00b


Joined: 29 Dec 2004 Posts: 19 Location: Trst
|
Posted: Mon Jan 10, 2005 10:24 pm Post subject: problemi con Server Host localhost |
|
|
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 |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31612 Location: here
|
Posted: Mon Jan 10, 2005 10:25 pm Post subject: |
|
|
Il tuo file /etc/hosts e' a posto? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
comio Advocate


Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Mon Jan 10, 2005 10:37 pm Post subject: |
|
|
ma il lato server è in esecuzione? iptables che dice?
ciao _________________ RTFM!!!!
e
http://www.comio.it
 |
|
Back to top |
|
 |
=DvD= Veteran

Joined: 25 Mar 2004 Posts: 1353
|
Posted: Mon Jan 10, 2005 10:46 pm Post subject: |
|
|
banale: eth.lo è startato? |
|
Back to top |
|
 |
Dimmy n00b


Joined: 29 Dec 2004 Posts: 19 Location: Trst
|
Posted: Tue Jan 11, 2005 8:45 am Post subject: |
|
|
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?
comio wrote: | banale: eth.lo è startato? |
Idem... come controllo?
Sorry
. _________________ 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 |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31612 Location: here
|
Posted: Tue Jan 11, 2005 8:59 am Post subject: |
|
|
Dimmy wrote: | =DvD= wrote: | banale: eth.lo è startato? |
Idem... come controllo? |
Code: | # rc-status boot | grep net.lo |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
Dimmy n00b


Joined: 29 Dec 2004 Posts: 19 Location: Trst
|
Posted: Tue Jan 11, 2005 9:23 am Post subject: |
|
|
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 |
|
 |
dboogieman Apprentice


Joined: 02 Oct 2004 Posts: 197
|
Posted: Wed Jan 12, 2005 2:37 pm Post subject: |
|
|
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 |
|
 |
mouser Veteran


Joined: 10 Aug 2004 Posts: 1419 Location: Milano
|
Posted: Wed Jan 12, 2005 3:15 pm Post subject: |
|
|
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 ???
mouser  |
|
Back to top |
|
 |
randomaze Bodhisattva


Joined: 21 Oct 2003 Posts: 9985
|
Posted: Wed Jan 12, 2005 4:03 pm Post subject: |
|
|
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 |
|
 |
dboogieman Apprentice


Joined: 02 Oct 2004 Posts: 197
|
Posted: Wed Jan 12, 2005 5:18 pm Post subject: |
|
|
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 |
|
 |
Dimmy n00b


Joined: 29 Dec 2004 Posts: 19 Location: Trst
|
Posted: Sat Apr 02, 2005 7:37 am Post subject: Re: problemi con Server Host localhost |
|
|
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...
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 |
|
 |
|